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

Option to call clearStaleState automatically #1263

Open 1Jesper1 opened 3 years ago

1Jesper1 commented 3 years ago

I would like to have an option to let the client call clearStaleState automatically.

brockallen commented 3 years ago

There's an API for that already: UserManager.clearStaleState

1Jesper1 commented 3 years ago

Hello @brockallen I know, but I want an option to not call this method myself, but let the Client call it.

keropodium commented 3 years ago

Hi, just wanted to let you know that this was confusing for me as I thought that by setting staleStateAge this would work out of the box and be handled by the client.