ZeferiniX
04/15/2023, 2:28 PMcreateNewSession
from the Recipe Session of the supertokens-node
SDK cannot set the cookies, not really sure what's going on
I can see the sessions getting created in the table, but the cookies doesn't get setrp
04/15/2023, 2:41 PMZeferiniX
04/15/2023, 2:41 PMrp
04/15/2023, 2:43 PMst-auth-mode: "cookie"
header in the request?ZeferiniX
04/15/2023, 2:44 PMrp
04/15/2023, 2:44 PMZeferiniX
04/15/2023, 2:46 PMrp
04/15/2023, 2:58 PMrp
04/15/2023, 3:00 PMZeferiniX
04/15/2023, 3:00 PMrp
04/15/2023, 3:00 PMrp
04/15/2023, 3:01 PMZeferiniX
04/15/2023, 3:02 PMrp
04/15/2023, 3:03 PMZeferiniX
04/15/2023, 3:03 PMrp
04/15/2023, 3:06 PMZeferiniX
04/15/2023, 3:10 PMst-auth-mode
requirement and navigating to the refresh token path
back in v12, the sAccessToken
and sRefreshToken
just gets set
also checked the changelog and the initial impression I got was just simply passing the req
object as well in the createNewSession
https://github.com/supertokens/supertokens-node/blob/master/CHANGELOG.md#1300---2023-02-01rp
04/15/2023, 3:12 PMZeferiniX
04/15/2023, 3:13 PMrp
04/15/2023, 3:13 PMZeferiniX
04/15/2023, 3:14 PMhttps://cdn.discordapp.com/attachments/1096804291022438411/1096815916609708143/chrome_2023_04_15_231435387.gif▾
sAccessToken
gets set with the st-auth-mode
header set to cookierp
04/15/2023, 3:15 PMZeferiniX
04/15/2023, 3:19 PMhttps://cdn.discordapp.com/attachments/1096804291022438411/1096817072933175296/image.png▾
rp
04/15/2023, 3:20 PMZeferiniX
04/15/2023, 3:20 PMrp
04/15/2023, 3:20 PMZeferiniX
04/15/2023, 3:20 PMrp
04/15/2023, 3:20 PMZeferiniX
04/15/2023, 3:21 PM