Skip to main content

required-revoke-token-url

Overview

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

When the x-revoke-token extension is used in an OAuth Flow Object, it must include the Url property that defines the endpoint for revoking tokens.

PropertyValue
EnabledYes
Maximum SeverityError
MessageMissing Url property in x-revoke-token object of the OAuth Flow Object.
CodeOPENAPI3STANDARDS_V443
TypeValidation
Rule SystemSemantic
Broad CategoryOAuth 2.0 Flows
Products ImpactedAPI Transformer, Code Generation, Developer Experience Portal
Tagsopenapi3 openapi standards semantic validation oauth2 revoke token url security security scheme flows token extension

Suggested Fixes

  • Ensure the x-revoke-token object contains a valid Url property.
  • Verify that the Url value is neither null nor empty.

For More Information