rp
03/05/2021, 6:37 AMthisjust
03/05/2021, 6:40 AMurl
paramthisjust
03/05/2021, 6:47 AMapiBasePath
wrongthisjust
03/05/2021, 6:47 AM/auth
to /.netlify/functions/auth
thisjust
03/05/2021, 6:48 AMthisjust
03/05/2021, 6:48 AMrp
03/05/2021, 6:49 AMrp
03/05/2021, 6:50 AMconsole.log(url)
and console.log(AuthHttpRequest.apiDomain)
on line number 380 (right after try {
)rp
03/05/2021, 6:51 AMnpm i supertokens-auth-react@0.7.1
and npm i supertokens-node@4.1.1
. We just updated the repos to fix a bug to do with having a .
in the apiBasePath
.thisjust
03/05/2021, 6:52 AMvalue of url /.netlify/functions/auth
http://localhost:8888
thisjust
03/05/2021, 6:54 AMrp
03/05/2021, 6:54 AMconsole.log(err)
on line number 390, just after } catch (err) {
thisjust
03/05/2021, 6:59 AMrp
03/05/2021, 6:59 AMrp
03/05/2021, 7:00 AMconsole.log( utils_1.normaliseURLDomainOrThrowError(url))
on line number 380, right after try {
rp
03/05/2021, 7:00 AMthisjust
03/05/2021, 7:04 AMthisjust
03/05/2021, 7:04 AMhttps://.netlify
thisjust
03/05/2021, 7:04 AMhttp
into https
thisjust
03/05/2021, 7:04 AMrp
03/05/2021, 7:04 AMrp
03/05/2021, 7:04 AMrp
03/05/2021, 7:04 AMthisjust
03/05/2021, 7:05 AMrp
03/05/2021, 7:05 AMthisjust
03/05/2021, 7:05 AMrp
03/05/2021, 8:39 AMnpm i supertokens-website@5.0.10
npm i supertokens-node@4.1.2
npm i supertokens-auth-react@0.7.2
And please try again. This time, things should work as expected.rp
03/05/2021, 9:39 AMthisjust
03/05/2021, 1:52 PMSession.getJWTPayloadSecurely
is now working, I was able to extract faunadbToken
from it, and I now have 4 cookies: sIRTFrontend
sAccessToken
sFrontToken
sIDRefreshToken