fix: Wrong message "Operation Successful! Please close this page." in case of reading token failed (CORS)
Opened this issue · 1 comments
s681562 commented
Description
The redirect page shows Operation Successful! Please close this page.
But the token is not read because of CORS error.
Steps To Reproduce
- If Keycloak login popup appears, login.
- After login redirect.html is called
- "Operation Successful! Please close this page." is printed in open window
- The open window get not closen
- If you close this open window and go back to your app, no token is fetched
Expected Behavior
Normally the new open window (redirect.html) will be closed automatically.
You are back to your application and token is fetched and you got all user info from Keycloak.
In case of this error I hope to get an detailed error message in redirect.html or from OidcUserManager
.
Screenshots
ahmednfwela commented
Hi @s681562 please check out the keycloak weborigins config