Multi-tenant application and session sharing

Hello,

Sorry I have just a basic question :
A token/session issued by one client doesn’t work with another client ?
ex: If I login to one application and want to switch to another I will have to login again, right ? (In case of multi-tenant with multi-client setup)

If I want to achieve this I should set up multi-tenant in a single client and use Auth0 authorization plugin ?

Regards,
Clovis

:wave: @clovis1 what does your setup look like? You could have Single Sign On across separate domains and/or Auth0 clients. From your questions I’m not sure if this is what you are looking to achieve specifically. For example, if you’re using something like Lock, and you have two applications. Your flow could look like this:

  1. User navigates to domain1.com/login.
  2. Code executes and is unsuccessful because an SSO cookie doesn’t exist
  3. Detect the failure and show the Lock widget.
  4. User logs in with correct credentials, they’re redirected into the app, and you store the token
  5. User navigates to a different application of yours, domain2.com/login
  6. Code on the page executes and is successful because a valid cookie existed for your tenant
  7. The result of gives you a new token to store and use

Depending on your use case, the Authorization Extension can help to manage permissions and roles for those applications.

Can you tell me a bit more about your particular use case?