-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove check on username when using AccessToken authentication for the API #11015
Remove check on username when using AccessToken authentication for the API #11015
Conversation
Signed-off-by: Andrew Thornton <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm ok with this since it wont make a huge diff in securety
@zeripath can you add the specivic labels to this pull :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code looks good to me, but I don't know much about the several auth options required by different usage scenarios, so I don't have an opinion whether this or #11014 should prevail.
Ping lgtm |
Ping lgtm |
Signed-off-by: Andrew Thornton <[email protected]>
As highlighted by #10902 the current situation of authentication with access tokens is inconsistent.
This PR is an alternative to #11014, and simply removes the username check making this consistent with Oauth2 tokens.
Closes #10902
Closes #11014
Fixes #10903
Signed-off-by: Andrew Thornton [email protected]