Skip to main content

two-or-more-authentication-schemes-in-group-auth-option

Overview

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

A group authentication option makes use of multiple authentication schemes to complete the authentication. Therefore, it must consist of at least two or more authentication schemes. If it consists of only a single authentication scheme, its type will be automatically changed from 'Group' to 'Single'.

PropertyValue
EnabledYes
Maximum SeverityInformation
MessageGroup authentication option with single authentication scheme has been converted to a single authentication option.
CodeAPIMATICPOSTPROCESS_V109
TypeValidation
Rule SystemSemantic
Broad CategoryAuthentication
Products ImpactedCode Generation, Developer Experience Portal, API Transformer
Tagsapimatic postprocessing validation group authentication option authentication scheme authentication

Suggested Fixes

  • Change the type of authentication option from 'Group' to 'Single' if it is expected to consist of only a single authentication scheme.
  • Add two or more authentication schemes in the authentication option for it to be treated as a valid group type authentication option.