-
Notifications
You must be signed in to change notification settings - Fork 60
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
Clarify expiration of created token #128
Comments
Actually I may have found my answer. https://docs.github.com/en/enterprise-cloud@latest/rest/apps/apps?apiVersion=2022-11-28#create-an-installation-access-token-for-an-app says:
which shows that this can't be customized or refreshed. |
Yes your findings are correct, the token expires after one hour, the time cannot be extended. I wonder what the best place would be to document that, you are not the first to ask about it. |
I would recommend adding it either as a subsection of the "How it Works" section or in a newer "Token Expiration" or "Notes" section at the end. Here's my best shot at a wording:
|
Sorry if this is already covered.
How long is a token created by create-github-app-token expected to last? It appears that it only lasts 1 hour so our longer Conan builds start failing to fetch repositories after 1 hour.
Is this customizable?
The text was updated successfully, but these errors were encountered: