Skip to content

Access tokens expiration email notifications

Hi,

Description

I am using 2FA and short-lived (1 week or so) access tokens for Git HTTP. Then, every week I have to go back to my profile settings, to the access tokens tab and regenerate a new one. This can be a bit painful, and the process could be simplified I think.

Proposal

My proposal is first, to send email notifications when an access token is about to expire.

Then, to improve the workflow of renewing the access tokens, we might put a link to "renew" the access token in this expiration notification. The link would be valid for a few hours (say 24 hours for instance) and will go directly to a pre-filled form of new access token generation (same name as previous one, same duration as previous one). The user would then just have to click the link and submit the form after review to generate a new access token.

Links / references

Thanks!