#8520 Extend Pagure API token lifetime
Closed: Invalid 4 years ago by kevin. Opened 4 years ago by kparal.

Describe what you would like us to do:

According to discussion at https://pagure.io/pagure/issue/2416 , it should be possible to change the Pagure API token lifetime through a configuration change. It is now configured to last 60 days, which is an extremely short interval for any automation usage in production. @pingou says I should ask you to extend the interval.

Github doesn't seem to have an expiry date, but expires tokens after it hasn't been used for a year. Gitlab asks you when it should expire, you can easily create a 5-year token. I suggest we configure Pagure tokens to last 1 year (365 days).

Thank you.


When do you need this to be done by? (YYYY/MM/DD)

No deadline, but it would be nice to have it in 1 months or so.



I am mis-communicated here, we are able to expend the lifetime of a specific token not of all of them.

So if you have a specific token you would like to have valid for a long period of time, let us know and we can adjust it.

Metadata Update from @smooge:
- Issue priority set to: Waiting on Reporter (was: Needs Review)

4 years ago

Ah, that has been a misunderstanding, yes. I was hoping you could change the default variable (60 days), so all new tokens would be subject to the longer lifetime (but existing tokens would probably not be affected). So this is not possible/desired at the moment, correct? If that is the case, feel free to close this ticket and I'll file a new one for a specific token in the near future, thanks.

Metadata Update from @kevin:
- Issue close_status updated to: Invalid
- Issue status updated to: Closed (was: Open)

4 years ago

Login to comment on this ticket.

Metadata