symfony - Add scopes to authentified oAuth2 user -


i'm using hwioauthbundle authenticate users google account.

i know how add scopes after user's logged in.

eg: according parameters, manage user's google calendar. should ask new authorization google me access scope.

so question is, how can ask new authorizations logged in user ?

hwioauthbundle requests "https://www.googleapis.com/auth/userinfo.profile" scope default. in order manage user's google calendar, want request "https://www.googleapis.com/auth/calendar" scope too.

check out on how customize scope request: https://github.com/hwi/hwioauthbundle/blob/master/resources/doc/resource_owners/google.md


Popular posts from this blog

node.js - How do I prevent MongoDB replica set from querying the primary? -

c# - Randomly pick a specific int from a 2D Array -

php - Angularjs http.delete is not working after deploying project on server -