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:
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
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.htmltemplate:newdle/newdle/templates/login_result.html
Line 14 in a3e4adf
For security reason, after successful loggin on Keycloak,
window.openeris 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