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