Mutual Authentication

resource_servers[]/mutual_auth

Specifies the configuration information associated with mutual authentication processing for the resource server.

Properties

NameTypeConstraintsDescription
basic_authbasic_auth
certificate_authcertificate_auth

resource_servers[]/mutual_auth/basic_auth

Specifies the configuration information associated with the basic authentication header which will be sent to the resource server.

Properties

NameTypeConstraintsDescription
usernamestringThe name of the user to be included in the basic authentication header.
passwordstringThe password of the user to be included in the basic authentication header.

resource_servers[]/mutual_auth/certificate_auth

Specifies the configuration information associated with the client certificate which will be sent to the resource server.

Properties

NameTypeConstraintsDescription
certificateArray of stringPEM based personal certificate files which will be used when communicating with the resource server. These certificate files should include the private key, a certificate signed with the private key, and the signer certificate or signer certificate chain (if required).

Example

resource_servers:
  - path: "/example"
    # ...
    mutual_auth:
      basic_auth:
        username: admin
        password: passw0rd
      certificate_auth:
        certificate:
          - "@cert.crt"
          - "@cert.key"

Did this page help you?