Skip to main content

valid-oauth-2-parameter-format

Overview

This rule belongs to the apimatic-post-processing-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 SeverityWarning
MessageFormat provided for OAuth 2 parameter is invalid and has been converted to the default format.
CodeAPIMATICPOSTPROCESS_V101
TypeValidation
Rule SystemSemantic
Broad CategoryAuthentication
Products ImpactedCode Generation, Developer Experience Portal, API Transformer
Tagsapimatic postprocessing validation oauth 2.0 parameter authentication

Suggested Fixes

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

For More Information