Replies: 1 comment 3 replies
-
Are you using only one domain (ex. domain.com), or each tenant has its domain? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, I would like to have clarifications on how to use your package with Laravel Passport and more precisely the PKCE OAuth flow to authenticate each user of a tenant in a Restful API. Indeed my Restful API which implements your package only serves as an API, a separate SPA consumes this API and soon a mobile application too.
I think I managed to install Laravel Passport so that it is "Tenant aware" and that the authorization routes are linked to the tenant:
My first question is that the authorization form is in my API now which should normally return only JSON, is this the right way to do it (e.g
/v1/as/my.tenant.domain.com/oauth/authorize...
)?If this is not the right way to do it, what is the way to have a multi-tenants API where we can authenticate with PKCE while respecting that my Laravel project contains only my API routes and that the frontend is in a separate project please?
Beta Was this translation helpful? Give feedback.
All reactions