pepegc
03/30/2022, 4:56 PMsignup/code/consume
. Also using 'Access-Control-Allow-Credentials': true
on my request to the backend. What am I missing?
After receiving the cookies from signup/code/consume
I should see the cookies on dev tools>storage>cookies, correct? because I don't.
Btw, I'm using fetch
, not axios
rp
03/30/2022, 5:15 PMsignup/code/consume
. Also using 'Access-Control-Allow-Credentials': true
on my request to the backend. What am I missing?
After receiving the cookies from signup/code/consume
I should see the cookies on dev tools>storage>cookies, correct? because I don't.
Btw, I'm using fetch
, not axios
pepegc
03/30/2022, 5:18 PMhttps://localhost:3000/
my backend (FastAPI) at https://acheron-api.herokuapp.com/
rp
03/30/2022, 5:18 PMpepegc
03/30/2022, 5:19 PMrp
03/30/2022, 5:20 PMpepegc
03/30/2022, 5:21 PMrp
03/30/2022, 5:27 PMfetch
? Are you using node-fetch
or the browser's inbuilt fetch?pepegc
03/30/2022, 5:28 PMrp
03/30/2022, 5:29 PMwindow.fetch
.pepegc
03/30/2022, 5:33 PMrp
03/30/2022, 5:33 PMpepegc
03/30/2022, 5:33 PMrp
03/30/2022, 5:34 PMpepegc
03/30/2022, 5:36 PMrp
03/30/2022, 5:39 PMpepegc
03/30/2022, 5:39 PMrp
03/30/2022, 5:40 PMfetch
and thats' why things are not workingpepegc
03/30/2022, 5:41 PMrp
03/30/2022, 5:41 PM.then
of fetch, can you call await supertokens.doesSessionExist()
?pepegc
03/30/2022, 5:51 PMapi.js
utilityrp
03/30/2022, 5:51 PMpepegc
03/30/2022, 5:52 PMrp
03/30/2022, 5:52 PMpepegc
03/30/2022, 5:52 PMrp
03/30/2022, 5:53 PMpepegc
03/30/2022, 5:53 PMrp
03/30/2022, 5:56 PMpepegc
03/30/2022, 5:59 PMrp
03/30/2022, 6:02 PMpepegc
03/30/2022, 6:03 PMrp
03/30/2022, 6:04 PMpepegc
03/30/2022, 6:06 PMrp
03/30/2022, 6:07 PMpepegc
03/30/2022, 6:07 PMrp
03/30/2022, 6:14 PM