What could be causing the login to post to "http://localhost:3000/api/auth/authorisationurl?thirdPar...
f
What could be causing the login to post to "http://localhost:3000/api/auth/authorisationurl?thirdPartyId=undefined&redirectURIOnProviderDashboard=undefined " when clicking on login with google/github? Nothing has changed with the code for a long time but it has decided to stop working
r
hey @FoolOnTheHill are you using our pre built UI or custom UI?
f
prebuilt
r
did you update any dependencies on the frontend related to supertokens?
f
Not deliberately but I am on a new machine so perhaps the dependencies weren't very locked down. Speaking of which, I emailed about getting the core updated months ago but it doesn't look like it ever got updated. Is it possible to do?
r
oh hmm. Apologies. Could you email once again? We will do it by Monday EOD
you can email on team@supertokens.com
> dependencies weren't very locked down That could be an issue, but even then, not sure how having it undefined in those values is possible
f
Copy code
"supertokens-auth-react": "^0.31.5",
    "supertokens-node": "^13.4.1",
    "supertokens-web-js": "^0.9.1",
is the package.json. I will double check but it should be compatible with the core we're on
r
yea. The issue you are seeing doesn't have anything to do with the core though
f
> That could be an issue, but even then, not sure how having it undefined in those values is possible Do you have any rough idea on where to start or look? Is it likely a frontend config issue? I'm happy to investigate myself but I have no idea where to start
r
yea, frontend most likely
so this API is called when you click on a button to login with a third party provider
f
yeah via a fetch, and so it makes sense that the thirdpartyid should be from the frontend config right? I will try reinstalling the deps, following the latest docs etc. first and let you know how I get on.
r
yea.
the latest docs may not work with the sdk version you are using. So you might want to see the older docs
f
good point, thanks
12 Views