Enterprise authentication

mTLS and OAuth for webhooks

Some of your customers won't accept a webhook on a signature alone. With mutual TLS (mTLS), both ends of the connection prove their identity with a certificate. With OAuth 2.0, deliveries authenticate against the customer's own authorization server. Svix supports both per endpoint, and your customers set them up in the App Portal.

mTLS handshakehttps://api.customer.com/webhooks
The endpoint rejects requests without a valid client certificate.Both sides verified
Two methods

Set by your customer

Enable mTLS, OAuth, or both for an environment. You can also sell either one to your customers as a paid add-on.

Mutual TLS (mTLS)

Both ends of the connection present a certificate. Your customer uploads a PEM-encoded certificate and private key for their endpoint, and their server only accepts connections that present it.

OAuth 2.0

Your customer enters a client ID and the URL of their authorization server, then picks the grant type and authentication method their provider uses.

Build vs. buy

When signatures aren't enough

Signed webhooks are secure on their own, but some security teams require a client certificate or a token on every inbound request, especially in banking and healthcare. Hard-coding one customer's certificate is quick. Supporting every customer who asks means building these three things, which Svix already runs.

Credentials per endpoint

Each customer brings their own certificate or OAuth client, so every endpoint needs its own client config. Svix keeps it on the endpoint and uses it for every delivery and retry.

Private CAs and self-signed certs

Enterprise servers often use certificates issued by an internal CA. Customers can upload that CA's certificate, so Svix can verify their server too.

Self-service setup

Customers upload their certificate or enter their OAuth details in the App Portal, so nobody emails PEM files or client secrets to your support team.

How mTLS works

What their server needs

On every delivery, Svix presents your customer's certificate and checks their server's certificate in return. Their server has to ask for a client certificate and trust only the CA that signed it, which in nginx is two directives.

Your customer's side: require a client certificatenginx
server {
  listen 443 ssl;
  server_name api.customer.com;

  ssl_certificate         /etc/ssl/server.crt;
  ssl_certificate_key     /etc/ssl/server.key;

  # Only accept clients with a certificate signed by this CA
  ssl_client_certificate  /etc/ssl/webhooks-ca.crt;
  ssl_verify_client       on;

  location /webhooks {
    proxy_pass http://app;
  }
}
Stitch Money

“Capabilities such as the self-service portal, mTLS and OpenTelemetry support help us meet enterprise customer requirements while keeping our engineering team focused.”

James FosterPrincipal Software Engineer, Stitch Money
mTLS trial

Try mTLS first

If one of your customers is asking for mTLS, tell us about it and we'll turn it on in your environment, so you can test it against a real endpoint.

Request a trial

Do webhooks need mTLS or OAuth to be secure?

No. Signatures already prove who sent each webhook and that nobody changed it, and they're what we recommend by default. mTLS and OAuth are for customers whose security policy also requires a client certificate or an access token on every inbound request.

Which plan includes mTLS and OAuth?

Both are part of the Enterprise plan. You can request an mTLS trial on this page to test it in your own environment first.

Where do customers set them up?

In the App Portal, when they configure their endpoint. The options appear once you enable mTLS or OAuth for the environment in the Svix dashboard.

Are webhooks still signed when mTLS or OAuth is on?

Yes. mTLS and OAuth are added to signature verification, so receivers can still verify every signature.