tyf
May 11, 2023, 9:54pm
3
Hello there @contrerasroaca welcome to the community!
Yes, you can authenticate users through a specific organization ID by including the ID in the authorize request - The following FAQ should be helpful:
Problem statement: How do I authenticate users through a specific organization?
Solution: You can accomplish this by specifying an organization parameter in the authorize request of your authentication flow - It’s important to note that the parameter must be the org_id of the organization as opposed to the name. The configuration of this will depend on whether you are simply constructing the authorize request yourself, or using an Auth0 SDK.
Reference Materials :
https://auth0.com/do…
For example, if using React, you would need to leverage the authorizationParams organization parameter.
Aside from a rather manual approach to authorizing a user through a specific org ID, there currently isn’t any sort of out of the box support. However, this is something that is on the roadmap - Please see the following thread:
Hi all, we’re currently in development for a few capabilities that relate to the asks in this thread. At a high-level, the updates will be as follows:
Integrate Organizations with Identifier-First Login flow , such that end-users can log-in to a generic application login prompt (as opposed to having to find or be directed to an Organization-specific login prompt).
Support the existing Home Realm Discovery behavior so that a single user with multiple organization memberships can first be authent…
Hope this helps!
1 Like