Hi,
I have a problem that seems like backward compatibility issue:
backend: github.com/supertokens/supertokens-golang v0.9.14
frontend: "supertokens-auth-react": "^0.35.6",
const authUrl = await getAuthorisationURLWithQueryParamsAndSetState({
thirdPartyId: "google",
frontendRedirectURI: "http://localhost:3000/auth/callback/google",
});
Goes to the backend successfully that reply below with the redirect url. But getAuthorisationURLWithQueryParamsAndSetState fail to process the response and throws and exception
{
"status": "OK",
"url": "https://supertokens.io/dev/oauth/redirect-to-provider?scope=https%3A%2F%2Fwww.googleapi......"
}
TypeError: Cannot read properties of undefined (reading 'startsWith')
at appendQueryParamsToURL (utils.js:47:1)
at Object.
(recipeImplementation.js:259:1)
at step (recipeImplementation.js:150:1)
at Object.next (recipeImplementation.js:87:1)
at fulfilled (recipeImplementation.js:43:1)