mirror of
https://github.com/suitenumerique/meet.git
synced 2026-08-30 12:09:08 +00:00
fixup! wip introduce add-in endpoints and views
This commit is contained in:
@@ -221,10 +221,16 @@ class AddonsJWTAuthentication(BaseJWTAuthentication):
|
|||||||
Tokens must include user_id to identify the authenticated user.
|
Tokens must include user_id to identify the authenticated user.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
secret_key = settings.ADDONS_JWT_SECRET_KEY
|
def __init__(self):
|
||||||
algorithm = settings.ADDONS_JWT_ALG
|
"""Initialize authentication backend with application JWT settings from Django settings."""
|
||||||
issuer = settings.ADDONS_JWT_ISSUER
|
super().__init__(
|
||||||
audience = settings.ADDONS_JWT_AUDIENCE
|
secret_key=settings.ADDONS_JWT_SECRET_KEY,
|
||||||
|
algorithm=settings.ADDONS_JWT_ALG,
|
||||||
|
issuer=settings.ADDONS_JWT_ISSUER,
|
||||||
|
audience=settings.ADDONS_JWT_AUDIENCE,
|
||||||
|
expiration_seconds=settings.ADDONS_JWT_EXPIRATION_SECONDS,
|
||||||
|
token_type=settings.ADDONS_JWT_TOKEN_TYPE,
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
class ResourceServerBackend(LaSuiteBackend):
|
class ResourceServerBackend(LaSuiteBackend):
|
||||||
|
|||||||
Reference in New Issue
Block a user