sahil-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.