/oauth/token
/oauth/par
/userinfo
Verify the client certificate
The customer edge network performs validations that depend on the expected type of the client certificate. To avoid common security problems and pitfalls, use a well-vetted certificate validation library when possible. When the client certificate fails validation, the expected behavior is dependent on the installation and outside of the scope of this document.CA-signed certificates
When a certificate is signed by a certificate authority, the trust chain of the certificate must be verified, including the root certificate. The certificate may also be compared against an allow or deny list to ensure the certificate is registered and has not been revoked. We recommend you do not use a public certificate authority to sign your client certificates as it may increase the risk of your client applications being impersonated.Self-signed certificates
Self-signed certificates are not backed by a chain of trust so a certificate chain cannot be checked. Instead, the certificate thumbprint could be checked against a registered certificate database or forwarded directly to Auth0 to perform this check.Forward the request
Once the certificate is verified, requests are forwarded along with several special headers from the customer to the same endpoint on the custom domain’s forwarding target at Auth0’s edge network. The forwarded request must include the following headers:-
The Custom Domain API key as the
cname-api-key
header. -
The client certificate as the
client-certificate
header. Note: Since HTTP headers must be text, the certificate must be converted to a URL component encoded PEM. The header value is limited to 4096 bytes. Therefore, only the first certificate in the chain should be forwarded to Auth0. -
The client certificate CA verification status as the
client-certificate-ca-verified
header. Theclient-certificate-ca-verified
header can have the following values:- SUCCESS: indicates that the client certificate is valid and has been verified by a certificate authority.
- FAILED: indicates that the presented client certificate is valid, however the certificate’s trust chain has NOT been verified by a certificate authority. In other words, it’s a self-signed certificate. May include an optional failure reason.
client-certificate-ca-verified:FAILED
header. Depending on this header value, Auth0 knows which client authentication method has been used and which client credentials need to be verified against.