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_st
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
rp_st
03/30/2022, 5:15 PMpepegc
03/30/2022, 5:16 PMrp_st
03/30/2022, 5:16 PMrp_st
03/30/2022, 5:16 PMpepegc
03/30/2022, 5:18 PMhttps://localhost:3000/
my backend (FastAPI) at https://acheron-api.herokuapp.com/
rp_st
03/30/2022, 5:18 PMrp_st
03/30/2022, 5:18 PMpepegc
03/30/2022, 5:19 PMpepegc
03/30/2022, 5:19 PMpepegc
03/30/2022, 5:19 PMpepegc
03/30/2022, 5:20 PMrp_st
03/30/2022, 5:20 PMrp_st
03/30/2022, 5:20 PMpepegc
03/30/2022, 5:21 PMpepegc
03/30/2022, 5:21 PMpepegc
03/30/2022, 5:22 PMrp_st
03/30/2022, 5:27 PMfetch
? Are you using node-fetch
or the browser's inbuilt fetch?rp_st
03/30/2022, 5:27 PMpepegc
03/30/2022, 5:28 PMrp_st
03/30/2022, 5:29 PMrp_st
03/30/2022, 5:29 PMwindow.fetch
.pepegc
03/30/2022, 5:33 PMrp_st
03/30/2022, 5:33 PMpepegc
03/30/2022, 5:33 PMpepegc
03/30/2022, 5:33 PMrp_st
03/30/2022, 5:34 PMpepegc
03/30/2022, 5:36 PMpepegc
03/30/2022, 5:38 PMrp_st
03/30/2022, 5:39 PMpepegc
03/30/2022, 5:39 PMpepegc
03/30/2022, 5:39 PMpepegc
03/30/2022, 5:39 PMrp_st
03/30/2022, 5:40 PMfetch
and thats' why things are not workingpepegc
03/30/2022, 5:40 PMpepegc
03/30/2022, 5:41 PMrp_st
03/30/2022, 5:41 PM.then
of fetch, can you call await supertokens.doesSessionExist()
?rp_st
03/30/2022, 5:41 PMpepegc
03/30/2022, 5:51 PMapi.js
utilityrp_st
03/30/2022, 5:51 PMpepegc
03/30/2022, 5:52 PMrp_st
03/30/2022, 5:52 PMpepegc
03/30/2022, 5:52 PMrp_st
03/30/2022, 5:53 PMpepegc
03/30/2022, 5:53 PMrp_st
03/30/2022, 5:56 PMpepegc
03/30/2022, 5:59 PMpepegc
03/30/2022, 5:59 PMpepegc
03/30/2022, 6:00 PMrp_st
03/30/2022, 6:02 PMrp_st
03/30/2022, 6:02 PMpepegc
03/30/2022, 6:03 PMpepegc
03/30/2022, 6:03 PMpepegc
03/30/2022, 6:04 PMrp_st
03/30/2022, 6:04 PMrp_st
03/30/2022, 6:04 PMpepegc
03/30/2022, 6:06 PMpepegc
03/30/2022, 6:07 PMrp_st
03/30/2022, 6:07 PMpepegc
03/30/2022, 6:07 PMpepegc
03/30/2022, 6:11 PMpepegc
03/30/2022, 6:11 PMrp_st
03/30/2022, 6:14 PM