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

Recommended flow for refreshing token? #67

Open
jghiloni opened this issue Oct 6, 2024 · 0 comments
Open

Recommended flow for refreshing token? #67

jghiloni opened this issue Oct 6, 2024 · 0 comments

Comments

@jghiloni
Copy link

jghiloni commented Oct 6, 2024

Hi! I'd like to be able to log in with the device flow and store the token in a file, along with the refresh token. If the access token is expired, I'd like to refresh. Is there a way to do that with this library? I'm trying to avoid the oauth2 module, as it's more than I need, as I will be doing pure git operations with the go-git module.

If that's what I gotta do, so be it, but if there's something I'm missing that sure would be neat 😃

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