Skip to main content

required-oauth-2-endpoint-url

Overview

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

The URL specified for an OAuth 2.0 endpoint must be a valid non-null, non-empty path relative to the OAuth server.

PropertyValue
EnabledYes
Maximum SeverityError
MessageOAuth 2.0 endpoint required URL is missing or invalid.
CodeAPIMATICPRE_V068
TypeValidation
Rule SystemSemantic
Broad CategoryAuthentication
Products ImpactedCode Generation, Developer Experience Portal, API Transformer
Tagspreliminary checks validation apimatic url server oauth 2.0 authentication server configuration api

Suggested Fixes

  • URL must be non-empty and non-null when using OAuth 2.0 authentication.
  • URL must be a relative path starting with a leading forward slash "/".
  • The endpoint must not contain URL fragments.

For More Information