Skip to content

Personal access token expired despite being used every day #30560

Discussion options

You must be logged in to vote

You can choose when your token will expire when you generate it. If you choose anything other than "No expiration" it will expire after that time, no matter how much you use it.

So to avoid expiration choose the "No expiration" option when generating the token, after considering the security implications (if someone can steal it, they can have access until you notice and revoke the token). In that case use actually matters, your token will still expire if it's unused for a year.

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by grant-h
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment