HomeTyk v2.3 Documentation ComponentsEnable Multi (Chained) Authentication in your API Definition

Enable Multi (Chained) Authentication in your API Definition

To enable this mode you must set the base_identity_provided_by field in your API Definitions to one of the supported chained enums below:

  • AuthToken
  • HMACKey
  • BasicAuthUser
  • JWTClaim
  • OIDCUser
  • OAuthKey
  • UnsetAuth

The provider set here will then be the one that provides the session object that determines rate limits, ACL rules and quotas.

Tyk will chain the auth mechanisms as they appear in the code and will default to auth token if none are specified. You can explicitly set auth token support by setting use_standard_auth to true.

Was this article helpful to you? Yes No