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

loadUserInfo expose error to client #12

Open
parnus01 opened this issue Dec 13, 2023 · 0 comments
Open

loadUserInfo expose error to client #12

parnus01 opened this issue Dec 13, 2023 · 0 comments
Assignees

Comments

@parnus01
Copy link

parnus01 commented Dec 13, 2023

Area
keycloak-js

Description
Currently, loadUserInfo function doesn't not given error info to client if any error happen

Details
In my personal use case client site pulling userinfo to check current info status, admin site can disable or delete user and then force their session to logged out. so we need to check when loadUserInfo return 401 (unauthorize) system will notify to user and let them to login page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants