We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fccfaa9 commit 45dcfc7Copy full SHA for 45dcfc7
backend/flask_app/server.py
@@ -26,6 +26,7 @@ def init():
26
27
@jwt.jwt_data_loader
28
def add_claims_to_access_token(identity):
29
+ """Explicitly set identity and claims for jwt."""
30
if identity == 'admin':
31
roles = 'admin'
32
else:
0 commit comments