* fix(chalice): fixed Math-operators validation
refactor(chalice): search for sessions that have events for heatmaps

* refactor(chalice): search for sessions that have at least 1 location event for heatmaps

* fix(chalice): fixed Math-operators validation
refactor(chalice): search for sessions that have events for heatmaps

* refactor(chalice): search for sessions that have at least 1 location event for heatmaps

* feat(chalice): autocomplete return top 10 with stats

* fix(chalice): fixed autocomplete top 10 meta-filters

* debug(chalice): log authorizer's config for debugging purposes
This commit is contained in:
Kraiem Taha Yassine 2024-08-30 13:23:03 +02:00 committed by GitHub
parent 837dfe2f92
commit a7c68b751b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 9 additions and 1 deletions

View file

@ -9,6 +9,14 @@ from chalicelib.utils.TimeUTC import TimeUTC
logger = logging.getLogger(__name__)
logger.info("--------- authorizer config ---------")
logger.info(f'JWT_REFRESH_EXPIRATION:{config("JWT_REFRESH_EXPIRATION", cast=int)}')
logger.info(f'JWT_SPOT_REFRESH_EXPIRATION:{config("JWT_SPOT_REFRESH_EXPIRATION", cast=int)}')
logger.info(f'JWT_ISSUER:{config("JWT_ISSUER")}')
logger.info(f'JWT_REFRESH_SECRET:{config("JWT_REFRESH_SECRET")}')
logger.info(f'JWT_SPOT_REFRESH_SECRET:{config("JWT_SPOT_REFRESH_SECRET")}')
logger.info("--------- authorizer config ---------")
def get_supported_audience():
return [users.AUDIENCE, spot.AUDIENCE]

View file

@ -27,7 +27,7 @@ IOS_VIDEO_BUCKET=mobs
js_cache_bucket=sessions-assets
jwt_algorithm=HS512
JWT_EXPIRATION=86400
JWT_ISSUER=openreplay-oss
JWT_ISSUER=OpenReplay-oss
JWT_REFRESH_EXPIRATION=604800
JWT_REFRESH_SECRET="SET A RANDOM STRING HERE"
JWT_SPOT_REFRESH_EXPIRATION=604800