It looks like oauth2.js provides
post = {
code: p.code,
client_id: p.client_id || p.id,
client_secret: p.client_secret,
grant_type: 'authorization_code',
redirect_uri: encodeURIComponent(p.redirect_uri)
};
In order to get a refresh token from google, we need to add access_type=offline to the params. Is there a way I'm able to override and do so?
It looks like oauth2.js provides
In order to get a refresh token from google, we need to add
access_type=offlineto the params. Is there a way I'm able to override and do so?