authentication - Sign in with Google: How to customize the requested permissions -
i'd find out how configure app engine application request custom permissions. example below asks "manage applications deployed on google app engine". how did pull off?
overview:
the method application using login oauth. shows in box controlled scope.
the purpose of oauth scopes accessing information authenticated users. scopes different each application, , determine information user application granted access to.
the following resources might worth checking out:
the oauth wikipedia isn't great, might useful depending on understanding.
in general, documentation each api intend use have information scopes available , should used.
in detail:
concretely, oauth request scope parameter as
https://www.googleapis.com/auth/userinfo.email https://www.googleapis.com/auth/userinfo.profile
would show user prompt similar following when logging in:
+ view basic information account * view name, public profile url, , photo * view gender , birthdate * view country, language, , timezone + view email address * view email address associated account
while 1 https://www.googleapis.com/auth/userinfo.email
show like:
+ view email address * view email address associated account
you can customize scopes depending on information want user.
Comments
Post a Comment