Skip to main content

security-scheme-oauth2

Flags security schemes that are neither type: oauth2 nor HTTP bearer authentication.

AttributeValue
CategorySecurity
MaturityGold
StarterOff
Lenient–CompleteError

See it fail

apiKey:
type: apiKey
in: header
name: X-API-Key

Fix it

Define an OAuth2 scheme, or an HTTP bearer scheme when that is the intended policy.

Nearby: require-oauth-scopes, no-http-basic.