oidc-client-js icon indicating copy to clipboard operation
oidc-client-js copied to clipboard

Client gets logged out after ~10 seconds on localhost in firefox with Strict tracking protection

Open Powersource opened this issue 4 years ago • 2 comments

Firefox version 86 (I recently updated my firefox version, idk which version I was running before)

Only happens on localhost, not production

And by "logged out" I just mean client-side, I still seem to be logged into my idp (keycloak 11.0.2)

I have more debugging notes and error messages in my issue here https://github.com/Edgeryders-Participio/realities/issues/229

I am technically using oidc-react (which in turn uses this library) but I think the problem is probably only fixable in this library?

Powersource avatar Mar 15 '21 15:03 Powersource

Did you ever figure this out?

brockallen avatar Apr 29 '21 17:04 brockallen

In addition to this issue I have a similar one logged here. Hot reloading is in a some sort of a loop and in best case scenario logs user out after some repetitions. The last thing called is onUserSignedOut callback

const userManager: UserManager//...
//...
userManager.events.addUserSignedOut(onUserSignedOut)

where I clear local storage from user data. To me misbehaving browser is Dissenter though (Version 1.5.114 Chromium: 80.0.3987.149 (Official Build) (64-bit))

LukaszGrela avatar Jun 01 '21 11:06 LukaszGrela