https://supertokens.com/ logo
#general
Title
# general
b

brasidas

04/21/2022, 3:39 PM
if so, what would i do about the compulsory requirement for a website domain on the backend?
r

rp

04/21/2022, 3:45 PM
Hey @brasidas
It does support react native
Are you using only the session recipe or another recipe as well?
b

brasidas

04/21/2022, 3:46 PM
just session recipe for webapp and corresponding react native apps, with a node backend
r

rp

04/21/2022, 3:47 PM
I see. So you can set the websiteDomain value on the backend to the domain on your web app.
It should work for react native too
b

brasidas

04/21/2022, 3:49 PM
i was thinking that, but why can i do that? i guess i need to understand the appinfo better
thank you for helping so quickly though
would you set the origin to the webapp domain as well, for the cors headers?
r

rp

04/21/2022, 3:51 PM
Yes. You would
b

brasidas

04/21/2022, 3:51 PM
thank you