https://supertokens.com/ logo
cookies missing
c

Chirags

04/18/2023, 11:33 AM
i have setup superToken in react native Front end using password less email authentication but after succesfull otp verification. cookies we are getting both sAccesToken refresh token from API response but when i check cookies log there is only sAceesToken not refresh token
r

rp

04/18/2023, 11:34 AM
hey @Chirags you mean as shown in the chrome's inspect element?
c

Chirags

04/19/2023, 6:27 AM
no i'm checking cookies log with my mobile app using react native
so i just want to know i'm getting superToken.doesSessionExist everytime false
from where you are checking sessionExist value cookies accesToken or any other ?
r

rp

04/19/2023, 6:36 AM
@nkshah2 can help here
n

nkshah2

04/19/2023, 6:37 AM
Hi @Chirags, Can you tell us what SDK version you are using? Also what backend SDK and version you are using for your API layer
c

Chirags

04/19/2023, 10:55 AM
we are using 3.2.0 version in react native and in backend we are using 0.12.6
@nkshah2
n

nkshah2

04/19/2023, 11:35 AM
What framework on the backend?
Right I assume you use Python in the backend? You'll need to use react native SDK 4.0.0 or above (as explained in the changelog for the python SDK https://github.com/supertokens/supertokens-python/blob/master/CHANGELOG.md#0120---2023-02-03)
c

Chirags

04/19/2023, 12:04 PM
okay let me check after updating