You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All users must login from app.example.com to create a "main" session.
Logged in users must be redirected to app.example.com/choose-tenant
When user navigates to one of his tenants, if his main session is active a new tenant-specific session is automatically created and he is redirected to his tenant's dashboard e.g. {dynamic-tenant-name}.example.com/dashboard
How would I go about setting up nuxt.config.js?
The use case is similar to #1153, but the suggested approach doesn't cover single page login and main session. The API endpoint should be api.example.com for authentication and api.{dynamic-tenant-name}.example.com for everything else.
This discussion was converted from issue #1249 on January 21, 2022 08:35.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have the following multi-tenancy scenario:
app.example.com
to create a "main" session.app.example.com/choose-tenant
{dynamic-tenant-name}.example.com/dashboard
How would I go about setting up nuxt.config.js?
The use case is similar to #1153, but the suggested approach doesn't cover single page login and main session. The API endpoint should be
api.example.com
for authentication andapi.{dynamic-tenant-name}.example.com
for everything else.Beta Was this translation helpful? Give feedback.
All reactions