Skip to main content

predefined-oauth-2-server

Overview

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

The authorization server or access token server referenced inside the OAuth 2.0 authentication definition must be pre-defined in the server configuration of the API.

PropertyValue
EnabledYes
Maximum SeverityError
MessageOAuth 2.0 authentication definition references an undefined server.
CodeAPIMATICPRE_V067
TypeValidation
Rule SystemSemantic
Broad CategoryAuthentication
Products ImpactedCode Generation, Developer Experience Portal, API Transformer
Tagspreliminary checks validation apimatic server oauth 2.0 authentication server configuration api

Suggested Fixes

  • Make sure the server you reference within OAuth 2.0 authentication definition is defined with the same name under the server configuration of the API.
  • Make sure the server name is not misspelled.

For More Information