Channels
bot-training
community
contributing
general
github-activity
info
introductions
new-releases
random
security
support-questions
welcome-0xdelusion
welcome-aj-ya
welcome-aleksandrc
welcome-alpinjs
welcome-amberlamps1
welcome-andrew-rodriguez
welcome-ankit-choudhary
welcome-anthony-stod-custodio
welcome-call-in
welcome-chwalbox
welcome-claybiokiller
welcome-co7e
welcome-cosmoecwsa
welcome-devdag
welcome-dinso
welcome-drebotelho
welcome-elio
welcome-ernest
welcome-foxbarrington
welcome-fromscratch
welcome-galto4ir
welcome-goetzum
welcome-hay-kot
welcome-himanshu-kukreja
welcome-hossambarakat
welcome-ichikawakazuto
welcome-jahir9991
welcome-jamesl
welcome-jerry123424
welcome-john-oliver
welcome-jonas-alexanderson
welcome-jxyz
welcome-kelvinwop
welcome-kraz
welcome-lancekey
welcome-leoo
welcome-lukeacollins
welcome-m-j-mon
welcome-malik-khoja
welcome-marco
welcome-mardadi
welcome-meshguy
welcome-metamorph
welcome-mike-tectu
welcome-mirzok
welcome-mozomig
welcome-naberyou66_
welcome-nacer
welcome-namratha
welcome-naveenkumar
welcome-nightlight
welcome-nischith
welcome-notankit
welcome-olawumi
welcome-pavan-kumar-reddy-n
welcome-pineappaul
welcome-poothebear
welcome-rick
welcome-samuel-qosenergy
welcome-samuelstroschein
welcome-shubhamgoel23
welcome-shubhamkaushal
welcome-sidebar
welcome-surajsli
welcome-suyash_
welcome-syntaxerror
welcome-tauno
welcome-tawnoz
welcome-teclali
welcome-tls
welcome-turbosepp
welcome-vikram_shadow
Powered by
Title
g
ggishant
10/12/2022, 11:19 AM
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
rp
10/12/2022, 11:19 AM
are you passing the rid header?
g
ggishant
10/12/2022, 11:20 AM
no actually, not using the sdk for react native. will do that
what's rid though?
@rp
r
rp
10/12/2022, 11:22 AM
it's a custom header we need for csrf protection
set the value of the header to
"session"
g
ggishant
10/12/2022, 11:23 AM
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
rp
10/12/2022, 11:24 AM
enable backend debug logs and show me the output
g
ggishant
10/12/2022, 11:24 AM
sure
#support-questions
Join Discord