Uncaught (in promise) Error: Invalid state after social login redirect
The fix is to clear the query parameters right inside your onRedirectCallback so the callback cannot be re-processed: call window.history.replaceState({}, document.title, window.location.pathname) in the callback. Multiple reporters confirmed this resolved the Invalid state error. The underlying cause is the SDK re-re…
Problem outcome: unknown