Repository navigation
Replies: 2 comments 2 replies
|
Maybe I'm grossly misunderstanding your flow, but to me it reads like that the decision to redirect to keycloak despite having a valid accessToken laying around in the localstorage is 100% under your control. Just don't redirect the user in that scenario. |
1 reply
|
Hi, could you please try And when the silent check fails, you could redirect to keycloak manually by You can refer to the doc here |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hi
I'll explain the behaviour I understand now, and what I'd suggest
Here's what happen now :
Then the use goes away and come back like 2 minutes later, or just refreshes the page => that retriggers the scenario written just above, the whole redirect stuff
As the user has logged-in in less time than the token validation limit and the token I saved is still valid regarding a client-API I'd call, why isn't it possible that a new session would try to use that previous information (token or else) to be already ready and avoid that 1-2sec redirection ?
I hope that's clear, and I'm here to provide more details if they are in my scope (I'm only a developper, and the IT guys haven't been able to answer me)
Thanks
All reactions