bjerkio / oidc-react

React component to provide OpenID Connect and OAuth2 protocol support. 🌳
MIT License
317 stars 68 forks source link

Uncaught (in promise) Error: No matching state found in storage at OidcClient.readSigninResponseState (oidc-client-ts.js:1785:1) at async UserManager.signinCallback #1015

Open curiosDevInSearch opened 1 year ago

curiosDevInSearch commented 1 year ago

image

Uncaught (in promise) Error: No matching state found in storage at OidcClient.readSigninResponseState (oidc-client-ts.js:1785:1) at async UserManager.signinCallback

After I signed in and redirected back to my app I am getting that console error, need help to fix it

Sandbox-Freddy commented 12 months ago

I got the same error after sign in, is there a fix?

Ploppz commented 10 months ago

I see that there are similar issues in the past but these have been marked as fixed. I'm also experiencing this issue using version 3.2.2. Our IdP is Azure.

laughingwhale1 commented 6 months ago

Any update? @Ploppz did you solve the issue?

Ploppz commented 6 months ago

Well I started using oidc-client-ts but ... I'm still experiencing a "Error: No state in response" error, so maybe I'm just doing something wrong. In my case, the error doesn't seem to affect the application though. So I did not yet look further into this issue.

laughingwhale1 commented 6 months ago

Your error may mean the response code doesn't contain state= query param.