Auth0 Home Blog Docs

Readonly Gmail Scope in Google Social Login


#1

I want to ask for the https://www.googleapis.com/auth/gmail.readonly scope for users using Google social login. However in the list of permissions for google there is only the broader scope which allows full access to gmail, which I don’t want, because I don/t need it. How can I ask for https://www.googleapis.com/auth/gmail.readonly only?

Thanks


#2

:wave: @miguel1 you should be able to pick the scopes even if they are not detailed in the connection settings screen. This can be achieved by following the approach described at: