mirror of
https://github.com/suitenumerique/meet.git
synced 2026-08-22 08:07:26 +00:00
fixup! (backend) wip introduce a token exchange endpoint
This commit is contained in:
@@ -290,12 +290,10 @@ class UserViewSet(
|
|||||||
token_type=settings.USER_ACCESS_TOKEN_TYPE,
|
token_type=settings.USER_ACCESS_TOKEN_TYPE,
|
||||||
)
|
)
|
||||||
|
|
||||||
# todo - discuss wether it's the relevant scope
|
|
||||||
data = token_service.generate_jwt(
|
data = token_service.generate_jwt(
|
||||||
user,
|
user,
|
||||||
"user:access",
|
"user:access",
|
||||||
{
|
{
|
||||||
"token_type": "user_access",
|
|
||||||
"client_id": code_data.get("client_id", "unknown"),
|
"client_id": code_data.get("client_id", "unknown"),
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user