https://supertokens.com/ logo
Title
p

Pasindu

10/14/2022, 2:09 PM
Hi I created a custom user roles. Specifically a user role for the admin. But once I login as an admin to the app after 2 or 3minutes it says that I'm not an admin. It seems like the admin role session isn expiring after some time. What should I do to overcome this?
r

rp

10/14/2022, 2:30 PM
Hey! Can you please update the frontend and backend SDK to the latest version and check if it happens still?
There was an issue about this which was fixed
p

Pasindu

10/14/2022, 4:14 PM
Sure I'll check. One additional thing. Once I login it redirects me to the http version of the react app instead of https. Do you have any thoughts about that?
r

rp

10/15/2022, 4:08 AM
Hmmm. Is the websiteDomain value http? Or https?