Skip to main content

unique-authentication-schemes-in-group-auth-option

Overview

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

A group authentication option is one that makes use of multiple authentication schemes to complete the authentication. It must not consist of duplicate authentication schemes and if any are found they will be automatically removed.

PropertyValue
EnabledYes
Maximum SeverityWarning
MessageDuplicate authentication scheme entry has been removed from the group type authentication option.
CodeAPIMATICPOSTPROCESS_V108
TypeValidation
Rule SystemSemantic
Broad CategoryAuthentication
Products ImpactedCode Generation, Developer Experience Portal, API Transformer
Tagsapimatic postprocessing validation group authentication option authentication scheme authentication

Suggested Fixes

  • An authentication scheme entry is considered unique when other entries do not use the same authentication scheme name or (if applicable) consist of unique scope values.
  • Remove duplicate authentication scheme entries from the group authentication option definition to avoid this issue.