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

Verify keycloak token #1282

Closed
Tracked by #1288
grzanka opened this issue Oct 17, 2023 · 0 comments · Fixed by #1288
Closed
Tracked by #1288

Verify keycloak token #1282

grzanka opened this issue Oct 17, 2023 · 0 comments · Fixed by #1288
Assignees

Comments

@grzanka
Copy link
Contributor

grzanka commented Oct 17, 2023

Front end should be partially responsible to check if the user has access to the yaptide platform.
Add appropriate check which extracts preferred_username from the token.
If it is equal to plgkongruencj (hardcode it!) then display a message that the user doesn't has access to the yaptide.
Then lead the user to the yaptide main page (forced logout?)

If the username is different than plgkongruencj then login the user as usual.

The check based on username will be replaced by some additional fields in token, to be provided soon.

@Derstilon Derstilon linked a pull request Oct 18, 2023 that will close this issue
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants