oauth2 token with read_repository scope failed to read my repository
Summary
oauth2 token with read_repository scope failed to read my repository, even without F2A enabled
Steps to reproduce
- Use the gitlab CE latest image.
- Create an oauth2 application with read_repository+api scope using root account.
- Authorize and get the access token for my user.
- git ls-remote // using access token as password failed with error
remote: HTTP Basic: Access denied
What is the current bug behavior?
cannot use oauth2 token as password to use git over http
What is the expected correct behavior?
I can use oauth2 token the same as account password or person token. (What you should see instead)
Edited by LeviMa