achedeuzot / ueberauth_auth0

Auth0 OAuth2 strategy for Überauth.
https://hexdocs.pm/ueberauth_auth0
MIT License
71 stars 46 forks source link

Support organization parameter in logins #191

Closed hexedpackets closed 2 years ago

hexedpackets commented 2 years ago

To authenticate a user through an Auth0 organization, the organization parameter is required to be set when calling the /authorize endpoint.

https://auth0.com/docs/organizations/using-tokens#authenticate-users-through-an-organization

hexedpackets commented 2 years ago

Looks good ! Can you add an associated test so it checks the organization is properly added to the call ? I'll be happy to merge it then :D

Done!