HHChift
08/02/2022, 9:00 PMArjun
08/02/2022, 10:10 PMStarted SuperTokens on 0.0.0.0:3567 with PID: 26
but then the instance crashes almost immediately.rp
08/03/2022, 5:28 AMrp
08/03/2022, 5:29 AMyzs
08/03/2022, 9:25 AMFailed to fetch
?IaS1506
08/03/2022, 12:04 PMnxteword
08/03/2022, 4:55 PMdoei
08/03/2022, 5:44 PMGabrielius
08/04/2022, 11:05 AMupdateAccessTokenPayload
to update the the session payload and it shows the new roles when I check the JWT cookie sAccessToken
in the browser. However when I run await Session.getAccessTokenPayloadSecurely()
in a Next.js frontend, I still get the old values even when I see the new cookie. It only seems to update when I log out and back in and a brand new session being generated. Does this function take the values directly from the cookies or somewhere else?rp
08/04/2022, 11:23 AMFelix Schaipp
08/04/2022, 2:14 PMrp
08/04/2022, 2:29 PMAlankazam
08/04/2022, 6:59 PMrp
08/05/2022, 3:56 AMsharma
08/05/2022, 4:40 AMsuperTokensPasswordless.createCode({ email: "john@example.org" })
2. Now either they will type in the code in a form I provide or they will visit the email link.
If they visit the link, I will get their code like this const userInputCode = superTokensPasswordless.getLinkCodeFromURL()
3. Then I will verify the code - superTokensPasswordless.consumeCode({ userInputCode: "8465AWETA" }).then((res) => { if(res.createdUser){ console.log(JSON.stringify(res.user))} })
Session should be automatically set now
Am I missing anything?yzs
08/05/2022, 8:27 AM<EmailPassword.EmailPasswordAuth>
from 'supertokens-auth-react' redirects to auth? i want to add a query paramsharma
08/05/2022, 9:40 AMSharukh Rahman
08/05/2022, 9:48 AMHHChift
08/05/2022, 6:40 PMrp
08/05/2022, 7:33 PMWildson
08/05/2022, 9:19 PMrp
08/06/2022, 3:21 AMdoei
08/07/2022, 11:22 AMcookieSameSite
option to none, and I can see that it is indeed set with the option, however, when launching request from the extension, the cookies are not there, why is that the case ?
- If choosing to use the jwt with localstorage approach, does it mean that refresh the session does not work anymore ?rp
08/07/2022, 1:18 PMSharukh Rahman
08/08/2022, 4:40 AMyzs
08/08/2022, 11:01 AMmuhajirdev
08/08/2022, 12:02 PMrp
08/08/2022, 12:14 PMLeander
08/08/2022, 12:23 PMBinouse
08/08/2022, 12:58 PMsetUserIdMapping
function implementation somewhere ?Binouse
08/08/2022, 12:58 PMsetUserIdMapping
function implementation somewhere ?rp
08/08/2022, 12:59 PMBinouse
08/08/2022, 1:01 PMrp
08/08/2022, 1:02 PMBinouse
08/08/2022, 1:03 PMrp
08/08/2022, 1:04 PMBinouse
08/08/2022, 1:08 PMrp
08/08/2022, 1:08 PMBinouse
08/08/2022, 1:11 PMrp
08/08/2022, 1:11 PM