Closed kattoshi closed 1 year ago
This is exactly what I need, can we get this merged? Currently the double prompt is preventing users from logging in on a mobile browser. The first prompt shows up to select the google account, and then a second prompt is shown when calling getAccessToken. On a mobile browser, the second prompt does not display for some reason. I would like to avoid the second prompt altogether.
I appreciate the quick action! This is working great for me.
After signing in with Google, I wanted to omit the authentication screen and consent screen operations that are reopened when 'SocialAuthService::getAccessToken' is called. https://developers.google.com/identity/oauth2/web/reference/js-reference#TokenClientConfig
add 'prompt' in GoogleInitOptions.