Skip to content
Visit Access on GitHub
Set theme to dark (⇧+D)

Signed AuthN Requests with SAML

In a SAML request flow, Cloudflare Access functions as the service provider (SP) to the identity provider (IdP). Cloudflare Access sends a SAML request to your IdP. The signing certificate that you upload from your SAML provider verifies the response.

In some cases, administrators need to verify that the request from the SP is authentic. By validating both the requests from the SP and the responses from the IdP, teams can ensure that operations in the SAML relationship are signed in both directions.

Cloudflare Access supports this requirement in the form of Signed AuthN requests. When enabled, Access sends a signature embedded in an HTTP POST request that contains the AuthN details.

Set up Signed AuthN requests

To set up Signed AuthN requests:

  1. In your Cloudflare Access dashboard, scroll to the Login Methods card, click Add, and select the SAML icon.

    Cloudflare Access Login Methods

    The Add a SAML identity provider dialog displays.

  2. Complete the fields in the dialog.

    Cloudflare Access Add a SAML identity provider dialog

  3. Go to this URL to find the certificate:


    Tip: Ensure that your IdP validation uses the most-recent certificate. Cloudflare Access routinely rotates the public key as a security measure.

    Cloudflare Access uses a certificate that includes the following 2 distinguished name fields:

    • Issuer Distinguished, C=US, ST=Texas, L=Austin, O=Cloudflare

    • Subject Distinguished NameCN=*, C=US, ST=Texas, L=Austin, O=Cloudflare

      Most IdP configurations require 3 components to enforce AuthN signature verification:

    • Certificate issuer distinguished name (DN)

    • Certificate subject distinguished name

    • Public certificate

  4. In your IdP account, Replace your authorization domain with the authorization domain generated by Cloudflare Access.

    This is an example format: