Skip to content

Login UI not updated after successful loggin #510

@Biboba

Description

@Biboba

Hello,

I noticed that after successful login on Keycloak, UI still shows me as not logged in:

Image

I believe the issue is due to this test in the login_result.html template:

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions