Skip to content

Commit

Permalink
'added access_type parameter to google authorization code url to supp…
Browse files Browse the repository at this point in the history
…ort refresh tokens'
  • Loading branch information
neocotic committed Mar 14, 2012
1 parent 94d70bd commit 803cb7b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/adapters/google.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ OAuth2.adapter('google', {
client_id={{CLIENT_ID}}&\
redirect_uri={{REDIRECT_URI}}&\
scope={{API_SCOPE}}&\
access_type=offline&\
response_type=code'
.replace('{{CLIENT_ID}}', config.clientId)
.replace('{{REDIRECT_URI}}', this.redirectURL(config))
Expand Down

0 comments on commit 803cb7b

Please sign in to comment.