Skip to main content

SSO Using Google

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

Google OpenID Connect Configuration

To prepare Google OpenID Connect for signing on to <das-id>

  1. Sign in to the Google Developers Console at

  2. Select an existing project or click Create Project to create a new one.

  3. From the left-hand navigation panel, click Credentials. Alternatively, search for Credentials in the search bar and choose Credentials APIs & Services.

  4. Click Create Credentials button to open the contextual menu, and then click OAuth client ID.

  5. For Application type, select Web application.

  6. Enter the following details in the displayed form and click Create.

    • Name : Styra (or anything you prefer).
    • Authorized redirect URIs: https://<das-id>
  7. The OAuth client created window will pop up with two pieces of data, Your Client ID and Your Client Secret. You must record this information in order to configure Styra in the next section.

Styra Configuration

At this point, Google is configured and you must configure <das-id>

  1. Sign in 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 form with the following details:

    • Provider name: Google (or anything you prefer).
    • Issuer URL:
    • Client ID: Copy the Client ID value recorded in Step 6 of the previous section.
    • Client Secret: Copy the Client Secret value recorded in Step 6 of the previous section.
    • 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.
    • 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 selected just-in-time provisioning for the users, you can now logout from <das-id> and sign-in again using Google. Google is now displayed on <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.