Skip to content

Commit

Permalink
Rename JWT_IDENTITY_CLAIM (vimalloc/flask-jwt-extended#557)
Browse files Browse the repository at this point in the history
  • Loading branch information
manisandro committed Nov 18, 2024
1 parent 791573f commit 35e4276
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions qwc_services_core/jwt.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ def jwt_manager(app, api=None):
'JWT_SECRET_KEY', os.urandom(24))
app.config['JWT_ACCESS_COOKIE_PATH'] = os.environ.get(
'JWT_ACCESS_COOKIE_PATH', '/')
app.config['JWT_IDENTITY_CLAIM'] = "qwc_identity"

jwt = JWTManager(app)

Expand Down

0 comments on commit 35e4276

Please sign in to comment.