Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting a new token with launchWebAuthFlow #2

Open
ivorpad opened this issue Jul 15, 2018 · 0 comments
Open

Getting a new token with launchWebAuthFlow #2

ivorpad opened this issue Jul 15, 2018 · 0 comments

Comments

@ivorpad
Copy link

ivorpad commented Jul 15, 2018

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant