The original API would only include the code query param when redirecting to the app, this would mean that information like scope and state would get lost and the login would fail because SuperTokens expects a state to be present
Summary of the solution
As a fix and to make this future proof the redirect API has been changed to include all current query params received by the API in the redirect url when redirecting back to the app
Summary of the problem
The original API would only include the
code
query param when redirecting to the app, this would mean that information likescope
andstate
would get lost and the login would fail because SuperTokens expects a state to be presentSummary of the solution
As a fix and to make this future proof the redirect API has been changed to include all current query params received by the API in the redirect url when redirecting back to the app