guess icon indicating copy to clipboard operation
guess copied to clipboard

Cache the OAuth2 access token

Open mgechev opened this issue 7 years ago • 4 comments

The GuessPlugin should cache the access token so it doesn't ask the user for authorization on each run.

mgechev avatar May 01 '18 01:05 mgechev

Agreed. Also being able to pass the access token with an environment variable would be helpful for CI builds.

dijs avatar Mar 13 '19 12:03 dijs

This is already supported, and probably not documented too well. Check out this property.

mgechev avatar Mar 13 '19 20:03 mgechev

@dijs you can find an example here: https://github.com/gatsbyjs/gatsby/blob/master/www/gatsby-config.js#L17-L28

wardpeet avatar Mar 19 '19 18:03 wardpeet

Thank you very much.

dijs avatar Mar 22 '19 10:03 dijs