n1ru4l
09/09/2022, 12:15 PM/api/auth/user/email/verify
raises the error Error: Unknown User ID provided
(and makes the app unusable).
Full Stack:
Error: Unknown User ID provided
at Recipe.<anonymous> (/app/node_modules/supertokens-node/lib/build/recipe/thirdpartyemailpassword/recipe.js:129:27)
at Generator.next (<anonymous>)
at fulfilled (/app/node_modules/supertokens-node/lib/build/recipe/thirdpartyemailpassword/recipe.js:15:36)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
I think this is related due to an account that was deleted but the sAccessToken
, sFrontToken
, sIRTFrontend
and sIdRefreshToken
cookies still be present on the frontend 🤔
After deleting the cookies from the dev tools everything works fine!
Shouldn't the supertokens-auth-react
library handle this and auto logout the user/unset the cookies?
is this related to https://github.com/supertokens/supertokens-auth-react/issues/547 ?
Happy to open a new issue otherwise!