GitHub App Refresh Token
Description
General
- Documentation: https://docs.github.com/en/apps/creating-github-apps/authenticating-with-a-github-app/refreshing-user-access-tokens
- Summary: A GitHub App refresh token is issued together with a user access token when a user authorizes a GitHub App that has user access token expiration enabled. The user access token expires after 8 hours, but the refresh token lives for 6 months. With the app's client ID (and client secret, unless the token comes from the device flow), it gets a new user access token that acts on behalf of the user, within the app's permissions and the user's access.
Revoke the secret
The user can revoke the app's authorization from their GitHub settings, at https://github.com/settings/apps/authorizations. Anyone can also revoke the token with GitHub's credential revocation API (https://docs.github.com/en/rest/credentials/revoke), which notifies its owner.
Details for GitHub App Refresh Token
-
Family: token
-
Category: version_control_platform
-
Company: GitHub
-
High recall: False
-
Validity check available: False
-
Analyzer available: False
-
Revoker available: False
-
Occurrences found for one million commits: 0.06
-
Prefixed: False