Skip to content

Make security scheme case-insensitive #79

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

Closed
bourdakos1 opened this issue Dec 8, 2021 · 0 comments · Fixed by #83
Closed

Make security scheme case-insensitive #79

bourdakos1 opened this issue Dec 8, 2021 · 0 comments · Fixed by #83
Assignees

Comments

@bourdakos1
Copy link
Member

As per @simranbentel in #67, It is common for the security scheme for bearer auth to be capitalized as Bearer. Looking in to this, a comment in OAI/OpenAPI-Specification#1876 noted that according to RFC7235, the authentication scheme is a case-insensitive token.

We should update our scheme detection code to reflect this.

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