Skip to content

Commit

Permalink
Removing change for notify api
Browse files Browse the repository at this point in the history
  • Loading branch information
VineetBala-AOT committed Feb 6, 2024
1 parent 3c7ba8a commit 3c265bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion notify-api/src/notify_api/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def setup_jwt_manager(app):
"""Use flask app to configure the JWTManager to work for a particular Realm."""

def get_roles(a_dict):
return a_dict['client_roles'] # pragma: no cover
return a_dict['realm_access']['roles'] # pragma: no cover

app.config['JWT_ROLE_CALLBACK'] = get_roles

Expand Down

0 comments on commit 3c265bb

Please sign in to comment.