SimpleAuth icon indicating copy to clipboard operation
SimpleAuth copied to clipboard

Adds access_type parameter for GoogleWeb provider

Open x44x45x41x4E opened this issue 9 years ago • 0 comments

Adds access_type parameter to default options. If nothing was set for this parameter, its default value is online. I added this if you want to request a refresh token from Google's Identity Platform then persist it for future use. Also, it passes the credentials as is in the dictionaryWithAccount method.

If you think this is a good addition to GoogleWeb provider and will be useful to others, please don't hesitate to merge it. Thanks.

Reference: Using OAuth 2.0 to Access Google APIs

x44x45x41x4E avatar Jan 21 '16 18:01 x44x45x41x4E