Quantcast
Channel: Active questions tagged react-native+typescript - Stack Overflow
Viewing all articles
Browse latest Browse all 6212

why httpOnly cookies are not accessible in react native?

$
0
0

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?


Viewing all articles
Browse latest Browse all 6212

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>