Hi @brandon.fleming,
Welcome to the Auth0 Community!
The documentation for the AuthProvider is correct. The organization can be specified using either the org_id
or org_name
.
However, in this context, you must provide the org_id
in your login request to log in with organizations.
The AuthorizationParams Interface might also be used in another context like silent authentication, where the user is already authenticated and you are revalidating the session. In this scenario, you could check the org_name
claim in the ID token.
Thanks,
Rueben