• Is there a way to check if the section in the IDP is still active? If the user logs out of another application, they continue with the active section in WordPress.

    For this the Check session iframe is usually used.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi, I came here to ask the exact same question.
    My WP application shares the same keycloak session with other apps, and I have to check if the session is not active anymore at least on page refresh.
    By now on page refresh the user is still logged, even if the session is not active anymore.

    Plugin Contributor Tim Nolte

    (@tnolte)

    It would generally be expected that the user will be logged out when it can no longer obtain a refresh token. This should be what manages the WordPress session.

    Thank you for your answer, but what I see is that if the user log out on another app (using the same keycloak clientId and user) in my WP app, also after a page refresh the user is still logged in, so I don’t think the plugin performs a token validation at refresh time. I would like to add it on my own, but I’m not finding a way to do it.

    Thread Starter dpatinor

    (@dpatinor)

    Check this out, we discussed it on GitHub https://github.com/oidc-wp/openid-connect-generic/issues/502

    thank you.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Check if the session is active’ is closed to new replies.