The error message "Unhandled Promise Rejection: Error: No matching state found in storage" can occur when using oidc-react and oidc-client-ts on a MacBookPro M1 due to a mismatch between the state value that is present in the authentication request and the state value that is stored in the storage mechanism (such as cookies or local storage). This can happen if the browser cookies or other storage mechanisms are not properly configured or if there is an issue with the implementation of the storage mechanism.
To fix this issue, you may need to ensure that the storage mechanism is properly configured and make sure that the state value is correctly stored and retrieved. You may also need to verify that the client ID and redirect URI values are correct and that the authentication request is properly formed. Additionally, you may need to update the versions of oidc-react and oidc-client-ts, or try using a different browser or machine to see if the issue persists.
Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss
Asked: 2023-02-17 11:00:00 +0000
Seen: 13 times
Last updated: Nov 21 '22
The content inside my buttons is not visible on the screen.
What causes peep and pop operations to produce invalid outputs?
What does the message "No tests found" from playwright VSCode mean?
Why does SVG fail to display in Safari, but functions properly in Chrome?
How to use hyperlinks in SharePoint List within Teams?
What is the meaning of the build error message "NoClassDefFoundError: org/apache/xpath/XPathAPI"?
What is the correct way to load the jQuery fullcalendar plugin in a div that is not visible?