Single sign-on (SSO)
Single sign-on (SSO) enables your users to authenticate via any SAML-compatible identity provider.
Configure
Single sign-on is restricted to Enterprise customers only and must be enabled on a per-account basis by contacting Ably. Only account owners can configure SSO for an account.
Any SAML-compatible identity provider can be used to enable SSO.
The following instructions are examples of configuring SSO with Okta and Google Workspace.
Okta
To enable SSO using Okta as the identity provider, configure the following properties in your Ably account dashboard and your Okta account:
In your Ably account dashboard:
- Log in to your account.
- Select Settings from the account navigation dropdown.
- Toggle Enable Single Sign-On under the Authentication Settings section.
- Note down the Single sign-on URL and Audience URI values.
In your Okta account:
Use the Okta guide for enabling SSO.
- Upload the Ably logo.
- Select EmailAddress for the Name ID format field.
- Select Email for the Application username field.
- Ably requires users’ full names, so ensure first_name and last_name are populated.
- Assign users to the newly created Okta application.
- Note down the Identity Provider metadata from Okta.
In your Ably account dashboard:
- Log in to your account.
- Select Settings from the account navigation dropdown.
- Complete the SSO fields with the values obtained from Okta:
- Identity Provider Single Sign-On URL
- Identity Provider Issuer
- X.509 Certificate
- Save the authentication settings.
Google Workspace
To enable SSO using Google Workspace as the identity provider, configure the following properties in your Ably account dashboard and your Google Workspace:
In your Ably account dashboard:
- Log in to your account.
- Select Settings from the account navigation dropdown.
- Toggle Enable Single Sign-On under the Authentication Settings section.
- Note down the Single sign-on URL and Audience URI values.
In your Google Workspace account:
Use the Google Workspace guide for enabling SSO.
- Upload the Ably logo.
- Copy and paste the metadata configuration into your Ably account:
- Identity Provider Single Sign-On URL
- Use Entity ID from Google Workspace as the Identity Provider Issuer in your Ably account.
- X.509 Certificate
- Save the authentication setting changes in your Ably account.
- Copy and paste the SAML settings from your Ably account into Google Workspace:
- Use Single sign on URL from your Ably account as the ACS URL in Google Workspace.
- Use SP Entity Id from your Ably account as the Entity ID in Google Workspace.
- Use Entity ID from Google Workspace as the Identity Provider Issuer in your Ably account.
- Select EMAIL for the Name ID format field.
- Select Basic Information > Primary Email for the Name ID field.
- Ably requires users’ full names, so ensure first_name and last_name are populated.
- Assign users to the newly created Google Workspace application.
- Test the SSO connection from Google Workspace.
Strict mode
Strict mode can be enabled to restrict access to your Ably account to only those users that authenticate with your identity provider. Users that attempt to log in using another method, such as their email address and password or a GitHub log in will be prompted to re-authenticate with your identity provider.
Strict mode ensures that Ably account access is handled by your identity provider. If a user is removed from your identity provider they will no longer be able to access the Ably account once their current session expires.
To enable strict mode:
- Log in to your account.
- Select Settings from the account navigation dropdown.
- Toggle Enable Strict Mode under the Authentication Settings section. This setting is only visible if SSO has been enabled.