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

Do not add blank Bearer token #589

Closed
martinoneutrino opened this issue Dec 12, 2023 · 0 comments · Fixed by #588
Closed

Do not add blank Bearer token #589

martinoneutrino opened this issue Dec 12, 2023 · 0 comments · Fixed by #588

Comments

@martinoneutrino
Copy link
Contributor

I have an OpenAPI spec which has multiple securitySchemes, including oauth2 and Bearer schemes, for which one must be met on various endpoints.
The problem is that openapi-generator's BearerAuthenticationProvider always adds a token, even if there is not one available, such as if the oauth2 flow was used and is meeting the security requirement.

PR: #588

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant