-
Notifications
You must be signed in to change notification settings - Fork 103
Q: Multi-tenant app support? #14
Comments
Answered my own question - it looks like the tenant is used for looking up the app registration and not much else.... So multi-tenant is good 👍 |
@iambmelt, actually, the tenant is used to validate the JWT token. So, any user from a tenant that is different from I believe this effectively prevents your app from being multi-tenant. @aj-michael could you confirm/discard this hypothesis? |
@ricalo No, I do not believe tenant is checked in that method. I cannot currently test this, but that method checks the JWT for expiration, issued at, audience (client id), issuer, not before, and signature. |
Thanks for the prompt answer, @aj-michael I think the key is that the method checks for Currently, I see no way of configure the library to use the common tenant, so I can sign-in with users from multiple tenants. Here's the error that I see when I try to configure the library with the common tenant. I guess the question here is how do I configure the library to support users from multiple tenants? |
Does using
omniauth-azure-activedirectory
preclude my app from being multi-tenant? I see that in the below file a tenant identifier is expected; how does that impact me?From
examples/rails-todo-list-app/config/environment.rb
The text was updated successfully, but these errors were encountered: