Laravel with multitenancy

Are there any guides anywhere on how to implement Auth0 with Laravel, more specifically a laravel application which is multi-tenancy (using https://tenancyforlaravel.com/) with a different database per tenant/org, where each business has its own subdomain… org-1.laravel-app.test/login etc.

I just need a user to be able to visit org-1.laravel-app.test/login, be redirected to Auth0 and for Auth0 to know which org that user is tied to, and then be kicked back to the callback route for that users org (e.g. org-1.laravel-app.test/callback)

Tips on how to allow users to log in to their own org, how to map a user in laravel to an org, how to pull the users roles etc. Anything is helpful!

Hi @morris14

Regarding multi-tenancy, I believe the following posts will be suitable:

Let me know if you have any other questions on the matter!

Kind Regards,
Nik

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.