I'm trying to get a working setup locally where I have two front end applications. One is running on localhost:4200 and the other is running on localhost:8080. The API that is exposing Supertokens is running on localhost:3000. Is there any way with the
websiteDomain
configuration to get this running? It seems that only one front end is able to actually initiate login/logout but both can share the session if the one with the matching website configuration initiates it
wonderpandadev
05/02/2023, 3:49 PM
In the deployed environment the plan would be that all 3 are on different subdomains, eg:
front1.example.com
front2.example.com
api.example.com
SuperTokens is an open source authentication solution offering features like: Different types of login: Email / password, Passwordless (OTP or Magic link based).