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

fix: Wrong message "Operation Successful! Please close this page." in case of reading token failed (CORS) #116

Open
s681562 opened this issue Jul 30, 2024 · 1 comment
Labels
bug Something isn't working waiting for feedback

Comments

@s681562
Copy link

s681562 commented Jul 30, 2024

Description

The redirect page shows Operation Successful! Please close this page.
But the token is not read because of CORS error.

Steps To Reproduce

  1. If Keycloak login popup appears, login.
  2. After login redirect.html is called
  3. "Operation Successful! Please close this page." is printed in open window
  4. The open window get not closen
  5. 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

image

@s681562 s681562 added the bug Something isn't working label Jul 30, 2024
@ahmednfwela
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working waiting for feedback
Projects
None yet
Development

No branches or pull requests

2 participants