This guide walks you through setting up Cloudflare single sign-on (SSO) for logging into Sastrify.


To set up Cloudflare SSO as your login method in Sastrify, follow these steps:

  1. Select "Login with Cloudflare" as in your Sastrify platform.
  2. Create a Cloudflare application for Sastrify and generate your credentials: SSO endpoint URL and public key.
  3. Send the credentials to Sastrify.
  4. Complete the configuration by entering values provided by Sastrify into Cloudflare.
  5. Confirm the setup and request a test if needed.

Each step is outlined below.


IN THIS ARTICLE


Step 1: Select the login method in Sastrify


  1. Go to: Settings > User & Company Data > Authentication Settings
  2. Click "Edit".
  3. Select "Login with Cloudflare".
  4. Click "Enable SSO".


Once enabled, you’ll see a confirmation message. This will also trigger an email from Sastrify with instructions to provide your Cloudflare credentials (see Step 3).


Step 2: Create an app in Cloudflare and generate credentials


  1. Sign in to your Cloudflare Zero Trust dashboard using your admin account.
  2. Go to Access > Applications.
  3. Click + Add New Application.


  4. Select SaaS under application type.


  5. Search for an existing application or enter a new application name (e.g., Sastrify-Auth0-SSO or YourCompanyName-Auth0-SAML).
  6. Select SAML as the authentication protocol.


  7. Click the "Add application" button to initiate a generic SAML application setup.
  8. You can skip the following for now (you'll receive them in Step 3):
    • Entity ID

    • Assertion Consumer Service URL

  9. Once configured and saved, Cloudflare generates the Identity Provider (IdP) metadata for your application.
  10. Copy the SSO endpoint URL and public key. You’ll need both for the next step.


Step 3: Send credentials to Sastrify


Reply to the email you received in Step 1 and include:

  • SSO endpoint URL

  • Public key


Once received, Sastrify will send back the following final configuration values needed to complete the setup. 

  1. Entity ID, e.g., urn:auth0:YOUR_TENANT_NAME:YOUR_AUTH0_SAML_CONNECTION_NAME

  2. Assertion Consumer Service (ACS) URL, e.g., https://your_auth0_domain/login/callback?connection=YOUR_AUTH0_SAML_CONNECTION_NAME


Step 4: Complete configuration in Cloudflare


Once you receive the final values from Sastrify:

  1. Return to your Cloudflare Zero Trust dashboard.
  2. Search for the Sastrify application.
  3. Open the SAML application setup page.
  4. Enter the Entity ID and ACS URL provided by Sastrify.
  5. Set Name ID Format to Email.



Once saved, your Cloudflare SSO integration will be complete.


Step 5: Confirm setup and testing


To finalize, reply to the same email thread and confirm that you’ve completed the SSO configuration in Cloudflare


Our support team can run a quick test on your behalf to ensure that authentication is working as expected.