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

[Question]: checksession changed refresh session #1684

Open
josecu08 opened this issue Feb 15, 2023 · 0 comments
Open

[Question]: checksession changed refresh session #1684

josecu08 opened this issue Feb 15, 2023 · 0 comments
Labels

Comments

@josecu08
Copy link

What Version of the library are you using?
14.1.5

Question
I'm using checksession and silentrenew without refresh tokens. I have 2 applications that use sso and I'm using oidc session management to implement single logout. First, I log in one of the apps, then I log in the second one which triggers a session change event on the first one.
I'm using that event to refresh the session when it's triggered (I do it by using forceRefreshSession({prompt: none)).
Up to this point everything is fine. However, whenever I try to logout from the first app (login out from the second one works fine) it does nothing. I've reviewed the lib code and I've found that it's because checkSessionReceived is set to true.

Shouldn't it be set to false after session is refreshed?
Am I configuring the flow wrong?

P.S: I've tried with sample-code-flow-http-config but it redirects on session changed I need to refresh silently.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant