IdentityModel / oidc-client-js

OpenID Connect (OIDC) and OAuth2 protocol support for browser-based JavaScript applications
Apache License 2.0
2.43k stars 842 forks source link

monitorSession 12 seconds delay on logout #1299

Closed jessedeboitselr closed 3 years ago

jessedeboitselr commented 3 years ago

Hi, I'm currently experiencing an issue as a result of enabling the monitorSession property.

When I'm logged in on two different apps:

Can anyone help me with how I can get rid of the 12 seconds delay?

Manually removing the session tokens is not an option because it has to work on multiple domains.

brockallen commented 3 years ago

Is this a recent problem/change, or are you doing new development?

jessedeboitselr commented 3 years ago

Before the monitorSession was not enabled. It started once we enabled it.

brockallen commented 3 years ago

It's hard to say -- you will have to monitor the http traffic, and see where the requests stop or fail.