rp
04/25/2021, 10:33 AMwebsiteDomain
should be "https://blah-blah.execute-api.blah-blah.amazonaws.com"
and there is websiteBasePath
which should be changed to "/dev/auth"
.
For development, youe websiteDomain
will be "http://localhost:3000"
.
Finally, CORS error can be fixed by doing this step: https://supertokens.io/docs/thirdpartyemailpassword/quick-setup/backend#3-add-the-supertokens-and-cors-middleware, where the origin
value should be "http://localhost:3000"
.