Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Support for expiring access tokens #99

Open
pbstriker38 opened this issue Jan 6, 2022 · 0 comments
Open

Support for expiring access tokens #99

pbstriker38 opened this issue Jan 6, 2022 · 0 comments

Comments

@pbstriker38
Copy link

When expiring access tokens are enabled a refresh_token and refresh_token_expires_in are returned. Can the refresh_token_expires_in be added to the credentials hash.

image

https://docs.github.com/en/developers/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps#response

{
  "access_token": "ghu_16C7e42F292c6912E7710c838347Ae178B4a",
  "expires_in": 28800,
  "refresh_token": "ghr_1B4a2e77838347a7E420ce178F2E7c6912E169246c34E1ccbF66C46812d16D5B1A9Dc86A1498",
  "refresh_token_expires_in": 15811200,
  "scope": "",
  "token_type": "bearer"
}
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant