fixup! (backend) wip introduce a token exchange endpoint

This commit is contained in:
lebaudantoine
2026-08-14 17:54:39 +02:00
parent 7957019ebe
commit 034e49a8b6
-2
View File
@@ -290,12 +290,10 @@ class UserViewSet(
token_type=settings.USER_ACCESS_TOKEN_TYPE,
)
# todo - discuss wether it's the relevant scope
data = token_service.generate_jwt(
user,
"user:access",
{
"token_type": "user_access",
"client_id": code_data.get("client_id", "unknown"),
},
)