Replies: 1 comment
-
Hello, I simply had to override the route by duplicating it in my tenant route file
I created my login controller that contains the exact code from the orchid login controller |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It's about stancl/tenancy 3.x, quickstart tutorial https://tenancyforlaravel.com/docs/v3/quickstart/
There is a problem with basic authorization Orchid.
For example, central domain orchid.local and a tenancy subdomain foo.orchid.local.
There is no middleware tenancy for route on the subdomain foo.orchid.local/admin/login, the request goes to the central database, the user on the tenancy database cannot log in.
In the example here https://dev.to/ostap/orchid-platform-meets-multi-tenancy-4e10 Tenancy solved differently (basic authorization is not used).
How to correctly configure the Orchid Platform and Tenancy for Laravel? How to set up routing correctly for stancl/tenancy?. Thanks.
Beta Was this translation helpful? Give feedback.
All reactions