Closed swinton closed 2 years ago
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.
refresh_token
https://github.com/cli/oauth/pull/9#issue-689424458
Thank you!
.
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.