Reputation: 43
I'm trying to set up authentication for a webapp using Auth0 and a Google Enterprise connection.
The applications needs to be able to access the user's profile, contacts, and gmail.
When I tried this using a Social connection in Auth0, I configured it to ask for Contacts and Gmail permissions. The consent then shows up as expected:
Configuration using Social Google Connection in Auth0
But when I try the same thing using an Enterprise Connection in Auth0, the Contacts and Gmail permissions are not available. And so, the consent screen won't ask for them either:
Configuration using Enterprise Google Connection in Auth0
What am I missing here? How do I setup authentication so that it
Upvotes: 1
Views: 421
Reputation: 6916
You should use connection_scopes
in Lock or connection_scope
in Auth0JS or the /authorize call to pass on any scopes you want to request to the Identity Provider.
Upvotes: 0