Skip to main content

SSO Using Azure

This page explains how to configure Azure and then configure Styra.

Azure Active Directory Configuration

  1. Login to Azure.

  2. Navigate to Your Registered App located under Azure Active Directory >> App registrations >> Display Name.

  3. Record the [Application (client) ID].

  4. Record the Directory (tenant) ID.

  5. Navigate to Certificates & Secrets and create a new client secret. Record your secret value to use in your Styra SSO configuration later on.

  6. Now, navigate to Redirect URIs >> Authentication and add the URI: https://<das-id>

Styra Configuration

After you configure Azure, you must configure <das-id>

  1. Login to <das-id> with your username and password.

  2. Go to your Workspace, click Access Control >> Single Sign-On Providers and then click OpenID Connect >> + Add OpenID Connect Provider.

  3. Enter the following details in the form.

    • Provider name: The name for your identity provider setting. For example, Corporate Azure AD . This name will be visible for the users on the login page.

    • Issuer URL: (Replace YOUR_DIRECTORY_TENANT_ID with the tenant ID recorded in Step 4

    • Client ID: Copy the Application Client ID value recorded in Step 3.

    • Client Secret: Copy the Client Secret value recorded in Step 5.

    • Allowed Domains: Type the allowed authentication domain(s) of your users. For example, If the identity provider supports multiple domains, only users with these domains are allowed to access the service.

    You can find your domain in your Registered App by selecting Branding on the left side menu. On the branding page, your URL will be present in the Publisher Domain.

    • Invited users only:

      • If enabled, the authenticated user must have a pre-existing account in the service.

      • If disabled, a new user account will be created just-in-time for any authenticated user, as long as the user's domain matches one of the allowed domains (and the identity provider has assigned this user to the Styra application).

    • Enabled: Set it to TRUE.

  4. If you have selected just-in-time provisioning for the users, then you can now logout from <das-id> and sign-in again through Azure. Azure is now displayed on the <das-id> login screen above the username and password.

Invite Users to Styra (Optional)

If you configured <das-id> to allow only invited users to login to the service, then you must create users on <das-id> You can add or invite users through the following options:

  • Using the CLI.
  • Using the GUI.
  • Any client calling the Styra CLI API.