I use this Cordova GooglePlus Plugin to log in to Google Accounts. The problem is that I can get the update token in the first request. I would like to have this token every time.
I read that adding a parameter prompt=consentwill make it ask for consent every time I log in, and I get an update token every time.
I just don't know where to add this parameter to achieve this.
I log in using:
let opts = {
scopes: "SCOPE1 SCOPE2",
webClientId: WEBCLIENTID,
offline: true
}
GooglePlus.login(opts)
Can anybody help me?
thank
source
share