I just sent a request in a typescript file to endpoint that does redirect and at the ends returns response with cookie that is marked as httpOnly. When I am executing the same code (call the function that does the axios call) from the componentDidMount in my react native app it doesnt respond with the cookie(I dont see the cookie). Why is that happening? I know that httpOnly cookies are not supposed to be seen by the browser, but what happens exactly in the react native app? where is the code running and what exactly happens here?
↧