oauth2-angularjs-chrome-extension-demo
oauth2-angularjs-chrome-extension-demo copied to clipboard
Getting a new token with launchWebAuthFlow
Hey Michael,
The important distinctions are that launchWebAuthFlow() doesn't require the browser to be logged into Google the way the chrome.identity.getAuthToken() — https://stackoverflow.com/a/38407040/4932334
How do you get a new token after the previous expires? A normal flow would be to get a new token 45 minutes before the previous expires to avoid getting the Consent Screen over and over again.
Thanks!