Skip to main content

valid-oauth-2-parameter-format

Overview

This rule belongs to the apimatic-preliminary-validation ruleset and states that:

The format specified for an OAuth 2.0 parameter, indicating how the parameter should be sent, must be one of the allowed formats for that authentication parameter e.g. form and query are the only allowed formats for the grant_type parameter.

PropertyValue
EnabledYes
Maximum SeverityError
MessageFormat provided for OAuth 2 parameter is invalid.
CodeAPIMATICPRE_V069
TypeValidation
Rule SystemSemantic
Broad CategoryAuthentication
Products ImpactedCode Generation, Developer Experience Portal, API Transformer
Tagspreliminary checks validation apimatic oauth 2.0 parameter authentication

Suggested Fixes

  • Use only allowed formats for OAuth 2 parameters to avoid this issue.

For More Information