Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Encode not only the user but also his/her roles in the JWT #19

Open
asishallab opened this issue Oct 17, 2019 · 0 comments
Open

Encode not only the user but also his/her roles in the JWT #19

asishallab opened this issue Oct 17, 2019 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@asishallab
Copy link
Member

Upon login-success encode both the user as well as the user's roles objects in the JWT. Thus the single-page-application is able to obtain the user's roles from the token and implement its own authorization checks.

Update the existing tests to take into account this new feature.

Expected work time: 4h

@asishallab asishallab added the enhancement New feature or request label Oct 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants