Hi, I'm getting a 401 : Unauthorized message while...
# support-questions-legacy
g
Hi, I'm getting a 401 : Unauthorized message while calling the refresh and sign out api's. Here are the cookies being set in the request.
The url:
r
are you passing the rid header?
g
no actually, not using the sdk for react native. will do that
what's rid though? @rp_st
r
it's a custom header we need for csrf protection
set the value of the header to
"session"
g
cool thanks, the path for refresh token cookies is being set to /auth/session/refresh and I'm getting this when calling the signout api
r
enable backend debug logs and show me the output
g
sure
34 Views