Skip to content

Expose refresh token (used by GitHub Apps) - #9

Merged
mislav merged 1 commit into
cli:mainfrom
swinton:expose-refresh-token
Oct 15, 2021
Merged

mislav merged 1 commit into
cli:mainfrom
swinton:expose-refresh-token

Conversation

@swinton

@swinton swinton commented Jul 13, 2021

Copy link
Copy Markdown
Contributor

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

ghost commented Aug 4, 2021

Copy link
Copy Markdown

#9 (comment)

1 similar comment
@ghost

ghost commented Aug 4, 2021

Copy link
Copy Markdown

#9 (comment)

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

mislav commented Oct 15, 2021

Copy link
Copy Markdown
Contributor

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.

3 participants