Hey! I was trying to use the "thirdpartyemailpassword" recipe but I ran into this error: `TypeError...
d
Hey! I was trying to use the "thirdpartyemailpassword" recipe but I ran into this error:
TypeError: originalImplementation.generateStateToSendToOAuthProvider is undefined
For frontend I am useing Next JS 13 with app router and backend is python with fastAPI. Simply tried using the keys in the tutorial and this doesn't work. Normal email password signup signin is working properly (I have added a couple of extra fields, not sure if that would case an error)
r
hey @doublemint69 which version of the frontend SDK are you using? Also, can i see your core for where you are calling
originalImplementation.generateStateToSendToOAuthProvider
?
d
frontend versions are:
Copy code
"supertokens-auth-react": "^0.33.1",
"supertokens-node": "^15.0.2",
"supertokens-web-js": "^0.7.1",
I am not calling this
originalImplementation.generateStateToSendToOAuthProvider
anywhere
I am using the managed service core
r
can i see the config in the frontendConfig()?
d
r
you should use version ^0.6.0 of supertokens-web-js
d
Oh Okey, will try that. Thanks!
Yep, that worked! Thanks a lot
6 Views