Skip to content
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

Only apply authorization if configured #862

Open
Postremus opened this issue Nov 21, 2024 · 0 comments
Open

Only apply authorization if configured #862

Postremus opened this issue Nov 21, 2024 · 0 comments
Labels
area:client This item is related to the client extension

Comments

@Postremus
Copy link
Contributor

Gitea provides multiple ways to authorize.

swagger-gitea.json

Right now, this is causing problems, since I have only configured the AuthorizationHeaderToken scheme.
The resulting request headers:
Authorization=token ,Authorization=Basic Og==,Sudo=token ,Basic Og==,X-GITEA-OTP=

I only want to use AuthorizationHeaderToken , and not Sudo. How can I accomplish this? Sudo requires an admin user.

@ricardozanini ricardozanini added the area:client This item is related to the client extension label Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:client This item is related to the client extension
Projects
None yet
Development

No branches or pull requests

2 participants