knpu_oauth2_client:clients:google:# must be "google" - it activates that type!type:google# add and configure client_id and client_secret in parameters.ymlclient_id:'%env(resolve:GOOGLE_CLIENT_ID)%'client_secret:'%env(resolve:GOOGLE_CLIENT_SECRET)%'# a route name you'll createredirect_route:connect_google_checkredirect_params:{}# Optional value for sending access_type parameter. More detail: https://developers.google.com/identity/protocols/OpenIDConnect#authenticationuriparameters# access_type: ''# Optional value for sending hd parameter. More detail: https://developers.google.com/identity/protocols/OpenIDConnect#hd-param# hosted_domain: ''# Optional value for additional fields to be requested from the user profile. If set, these values will be included with the defaults. More details: https://developers.google.com/+/web/api/rest/latest/peopleuser_fields:{'birthday'}# whether to check OAuth2 "state": defaults to true# use_state: true
In fact, I don't know but Could try this? I've changed user_fields line.
Also, check out developers.google.com/+/web/api/re...
It didnt worked :(