-
Notifications
You must be signed in to change notification settings - Fork 75
Description
Hello,
I noticed that after successful login on Keycloak, UI still shows me as not logged in:
I believe the issue is due to this test in the login_result.html template:
newdle/newdle/templates/login_result.html
Line 14 in a3e4adf
| if (window.opener) { |
For security reason, after successful loggin on Keycloak, window.opener is null so no message is posted back to the application and UI does not reflect the fact that I am now logged in.
This only occurs if not already logged on Keycloak. If in an incognito window, you log in on another application secured with CERN Keycloak, and in another tab open newdle and log in, it works. But if logging in, from scratch in an icognito window from newdle, UI does not reflect because of the issue described above.
A possible workaround could be to use a BroadcastChannel ?
Thanks,
Nicolas