write_repository scope to Personal access token
Problem to solve
Be able to git push
over HTTPs when 2FA is enabled.
Similar to #48735 (moved), but for personal access tokens.
Further details
When 2FA is enabled, git push
is only possible over SSH. But SSH is not always available. This will allow to git push
with 2FA when SSH is not available.
Proposal
A new scope to be added to Personal Access Tokens (write_repository
)
What does success look like, and how can we measure that?
Ability to git push
over HTTPs when 2FA is enabled.
Links / references
- Existing scopes
- #41232 (moved) Better Feedback For 2 Factor Auth With HTTP