chenkaiC4
05/31/2021, 11:04 AMgusfune
05/31/2021, 11:07 AMchenkaiC4
05/31/2021, 11:12 AMchenkaiC4
05/31/2021, 11:17 AMrp
05/31/2021, 11:17 AMrp
05/31/2021, 11:17 AMchenkaiC4
05/31/2021, 11:18 AMsahil-shubham
06/01/2021, 10:49 AMrp
06/01/2021, 10:50 AMsahil-shubham
06/01/2021, 10:50 AMrp
06/01/2021, 10:50 AMrp
06/01/2021, 10:51 AMsignUp
function from the recipe you userp
06/01/2021, 10:51 AMsahil-shubham
06/01/2021, 10:56 AMrp
06/01/2021, 10:58 AMsahil-shubham
06/01/2021, 11:07 AMrp
06/01/2021, 11:08 AMsahil-shubham
06/01/2021, 11:09 AMrp
06/01/2021, 11:09 AMrp
06/01/2021, 11:09 AMsahil-shubham
06/01/2021, 11:09 AMsahil-shubham
06/04/2021, 7:35 PMapiDomain
?sahil-shubham
06/04/2021, 7:59 PMrp
06/05/2021, 4:31 AMcookieDomain
config in the backend's Session.init()
to something like ".api.example.com"
. This will send the cookies to api.example.com
and to *.api.example.com
.
I think there will be one more change required from our side for this to happen, which I can make today and release a new version...
-------------
> No cookies getting attached to the request.
- Is this the sub domain of your API's sub domain? Or is it a totally different API domain?
- Have you correctly configured CORS for this domain?
- Is this domain https
, and is the secure
flag in cookies https
?
- Is there any output on the browser console when querying this domain?
- What is the status code output of the API when you query? 200? 401?rp
06/05/2021, 12:25 PMsahil-shubham
06/06/2021, 6:49 AMgetUserId()
solved the issue. I didn't even use the userId in the request itself but the cookies started getting attached with the request.
> Is this domain https, and is the secure flag in cookies https?
Yes, https.
> - Is there any output on the browser console when querying this domain?
No there wasn't. I will check once again and let you know.
> - What is the status code output of the API when you query? 200? 401?
I was trying to obtain the userId in the backend and was returning an error status of 404 if the userId was null.sahil-shubham
06/06/2021, 6:50 AMrp
06/06/2021, 6:50 AMHealsies
06/08/2021, 11:07 AMrp
06/08/2021, 11:08 AM