Hello , I am using multi-tenancy approach with 2 t...
# support-questions-legacy
t
Hello , I am using multi-tenancy approach with 2 tenants single app . I have 2 frontend apps : 1. pcc-stage.fairmatic.com. talks to auth-service-stage.fairmatic.org for login and then to pcc-stage.fairmatic.org for business logic 2. dbe-stage.fairmatic.com. talks to auth-service-stage.fairmatic.org for login and then to dbe-stage.fairmatic.org for business logic I have 3 backend services 1. auth-service-stage.fairmatic.org (where supertoken setup has been done) 2. pcc-stage.fairmatic.org 3. dbe-stage.fairmatic.org I don't want sessions to be shared across these domains so I have not set sessionTokenFrontendDomain . But I have set the value of sessionTokenBackendDomain to .fairmatic.org so that token can be shared across auth-service and business logic service . This is causing session sharing and once I log out from pcc-stage.fairmatic.com , it logs me out of dbe-stage.fairmatic.com. as well . Is there a way to solve this or Do I need to move to header based approach ? Also I tried with header based approach mentioned in this doc : https://supertokens.com/docs/thirdpartyemailpassword/common-customizations/sessions/token-transfer-method. I only added tokenTransfer in the fe code . But api's were failing with 401 as token was not passed , any reason for that ?