Can anyone explain how to get a shared session on a sub domain?
If I have a site of app.waldo.vision and identity.waldo.vision, and a user logins into identity.waldo.vision, how does app.waldo.vision recieve the session. Is there any extra code I need to add besides the
sessionTokenFrontendDomain
? Do I need to add a provider on the app.waldo.vision frontend?
If anyone could clarify this for me that would be greatly appreciated.
r
rp_st
09/18/2023, 7:55 AM
hey @ceriddenn there is no extra code needed. It works by using the cookie domain setting to make it so that it's shared across sub domains.
SuperTokens is an open source authentication solution offering features like: Different types of login: Email / password, Passwordless (OTP or Magic link based).