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

Expose refresh token (used by GitHub Apps) #9

Merged
merged 1 commit into from Oct 15, 2021

Conversation

swinton
Copy link
Contributor

@swinton swinton commented Jul 13, 2021

GitHub Apps have the ability to expose refresh_tokens when identifying and authorizing users using either the device or web flow.

This refresh token is valid for 6 months and can be exchanged for a fresh access token (valid for 8 hours) and a new refresh token.

This PR exposes the refresh_token that is returned when using the OAuth flow with a GitHub App.

@ghost
Copy link

ghost commented Aug 4, 2021

#9 (comment)

1 similar comment
@ghost
Copy link

ghost commented Aug 4, 2021

#9 (comment)

@mislav mislav merged commit 63e88b3 into cli:main Oct 15, 2021
@mislav
Copy link
Contributor

mislav commented Oct 15, 2021

Thank you!

@Grizzy1

This comment was marked as spam.

@swinton swinton deleted the expose-refresh-token branch January 24, 2022 06:00
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

Successfully merging this pull request may close these issues.

None yet

3 participants