Closed dpcodes closed 8 months ago
Thank you @dpcodes for your issue. I am on it. It will help me a lot !
hi @dpcodes which version are you using?
I tried with 7.13.14 and latest, and it was happening on both
Quick tests with 7.15.4-alpha.1309: the issue appears to be fixed.
Merci beaucoup Guillaume!
Hi @dpcodes , you can use mainlatest version now.
Issue and Steps to Reproduce
Unrelated but the react demo is down
With service worker
Note that we are NOT using
offline_access
so no refresh tokensWe are currently encountering an issue where when you have more than 2 tabs opened, if 2 of them errors, the third tab stops emitting events.
We are using silent login with a SSOLifetime. When the SSO expires and the silent login tries to renew the tokens, it errors, requiring login. It's working as expected with 2 tabs.
When you have more than 2 tabs, the 3rd one isn't receiving anymore events (from
onEvent
inOidcProvider
) once the first 2 have both receivedrefreshTokensAsync_error
.This causes an issue because on the first 2 tabs we are seeing the SessionLost page as expected, but on the 3rd one, it stays inside the app but all the calls are returning 401.
To reproduce:
UserSsoLifetime
to 300 seconds (5 minutes)AccessTokenLifetime
to 120 seconds (2 minutes)Versions
latest
Screenshots
Expected
The 3rd tab receives the errors allowing the SessionLost page to show
Actual
The 3rd tab doesn't receive the error, staying inside the app and all fetch calls are returning 401.
Additional Details