Skip to main content

no-oauth2-implicit-flow-usage

Overview

This rule belongs to the openapi-v3-standards-linting ruleset and states that:

As of 2020, the OAuth 2.0 implicit flow is about to be deprecated by OAuth 2.0 Security Best Current Practice. Therefore, using the implicit flow in an OAuth Flows Object of a oauth2 security scheme is not recommended.

PropertyValue
EnabledYes
Maximum SeverityInformation
MessageUsage of OAuth 2.0 implicit flow found.
CodeOPENAPI3STANDARDS_L271
TypeLinting
Rule SystemSemantic
Broad CategorySecurity Schemes
Products ImpactedAPI Transformer, Code Generation, Developer Experience Portal
Tagsopenapi3 openapi standards semantic linting implicit oauth 2.0 oauth flow security schemes security

Suggested Fixes

  • Avoid using implicit flow in your OAuth 2.0 flow definition unless you are aware of the risks.

For More Information