The message "Error: Invalid state" appears in the console log

I am implementing the authentication function using @auth0/auth0-spa-js.
We have implemented another OAuth authorization that has nothing to do with Auth0, and returns “?code=XXXXX&state=YYYY” to the callback URL.
At this time, the error message “Error: Invalid state” is displayed in the Chrome console log.
Maybe @auth0/auth0-spa-js is interfering with the function checking the code and state.

Is there a way to prevent the error message from appearing in the console log?

Hey there @kmatae, welcome to the Auth0 Community!

When you get a chance can you please share any screen shots and a HAR file capture in a direct message so we can get a better idea of what you are seeing? Thanks in advance!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.