We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Rule https://opensource.zalando.com/restful-api-guidelines/#104 does not match exactly the title: MUST secure endpoints with OAuth 2.0. In the text we propose Bearer Authentication, which is not classified as OAuth 2.0 but as HTTP Authentication according to OpenAPI (see https://swagger.io/docs/specification/authentication/bearer-authentication/):components:
securitySchemes: BearerAuth: type: http scheme: bearer bearerFormat: JWT
Consequently, The Zally rule implementation is currently rejecting the security schema, since it is not of the required type (see https://github.com/zalando/zally/blob/master/server/zally-ruleset-zalando/src/main/kotlin/org/zalando/zally/ruleset/zalando/SecureWithOAuth2Rule.kt#L23).
The text was updated successfully, but these errors were encountered:
fix: bearer authorization support (#1246)
4bf84d1
a5fe6f3
5daa1ce
Merge pull request #1247 from zalando/1246-fix-bearer-auth-support
5361700
tkrop
Successfully merging a pull request may close this issue.
Rule https://opensource.zalando.com/restful-api-guidelines/#104 does not match exactly the title: MUST secure endpoints with OAuth 2.0. In the text we propose Bearer Authentication, which is not classified as OAuth 2.0 but as HTTP Authentication according to OpenAPI (see https://swagger.io/docs/specification/authentication/bearer-authentication/):components:
Consequently, The Zally rule implementation is currently rejecting the security schema, since it is not of the required type (see https://github.com/zalando/zally/blob/master/server/zally-ruleset-zalando/src/main/kotlin/org/zalando/zally/ruleset/zalando/SecureWithOAuth2Rule.kt#L23).
The text was updated successfully, but these errors were encountered: