sourcegraph / sourcegraph-public-snapshot

Code AI platform with Code Search & Cody
https://sourcegraph.com
Other
10.11k stars 1.29k forks source link

Personal Access Token Expiration #61693

Open fkling opened 7 months ago

fkling commented 7 months ago

https://github.com/sourcegraph/accounts/issues/564 wants to be able to limit the expiration date of PATs at creation time so that users can't create long-lasting PATs. **OAuth for access tokens would solve this issue and is their preferred method. Effort for non-OAuth is about a sprint. Unknown for OAuth.

https://sourcegraph2020.lightning.force.com/lightning/r/Product_Gap_Submission__c/a1CUV000000FNcD2AW/view

camdencheek commented 7 months ago

This might already be solved

peterguy commented 6 months ago

@camdencheek those settings apply to all users; the customer needs to be able to apply different limits to different kinds of users.

peterguy commented 6 months ago

Internal discussion