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_st
04/15/2023, 2:41 PMzeferinix
04/15/2023, 2:41 PMzeferinix
04/15/2023, 2:42 PMrp_st
04/15/2023, 2:43 PMst-auth-mode: "cookie"
header in the request?rp_st
04/15/2023, 2:43 PMzeferinix
04/15/2023, 2:44 PMrp_st
04/15/2023, 2:44 PMrp_st
04/15/2023, 2:44 PMzeferinix
04/15/2023, 2:46 PMrp_st
04/15/2023, 2:58 PMrp_st
04/15/2023, 3:00 PMzeferinix
04/15/2023, 3:00 PMrp_st
04/15/2023, 3:00 PMrp_st
04/15/2023, 3:01 PMrp_st
04/15/2023, 3:02 PMrp_st
04/15/2023, 3:02 PMzeferinix
04/15/2023, 3:02 PMzeferinix
04/15/2023, 3:02 PMrp_st
04/15/2023, 3:03 PMzeferinix
04/15/2023, 3:03 PMzeferinix
04/15/2023, 3:04 PMzeferinix
04/15/2023, 3:04 PMrp_st
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_st
04/15/2023, 3:12 PMzeferinix
04/15/2023, 3:13 PMrp_st
04/15/2023, 3:13 PMrp_st
04/15/2023, 3:14 PMzeferinix
04/15/2023, 3:14 PMhttps://cdn.discordapp.com/attachments/1096804291022438411/1096815916609708143/chrome_2023_04_15_231435387.gif▾
zeferinix
04/15/2023, 3:15 PMsAccessToken
gets set with the st-auth-mode
header set to cookiezeferinix
04/15/2023, 3:15 PMrp_st
04/15/2023, 3:15 PMrp_st
04/15/2023, 3:16 PMrp_st
04/15/2023, 3:16 PMrp_st
04/15/2023, 3:16 PMrp_st
04/15/2023, 3:16 PMrp_st
04/15/2023, 3:16 PMzeferinix
04/15/2023, 3:19 PMzeferinix
04/15/2023, 3:19 PMhttps://cdn.discordapp.com/attachments/1096804291022438411/1096817072933175296/image.png▾
zeferinix
04/15/2023, 3:19 PMrp_st
04/15/2023, 3:20 PMzeferinix
04/15/2023, 3:20 PMrp_st
04/15/2023, 3:20 PMrp_st
04/15/2023, 3:20 PMzeferinix
04/15/2023, 3:20 PMrp_st
04/15/2023, 3:20 PMzeferinix
04/15/2023, 3:21 PMzeferinix
04/15/2023, 3:21 PM