Single Sign On (SSO)
Set up single sign-on (SSO) for your organization in Dastra: protocols, connection options, automatic user creation and login management.
Working principle
Single sign-on, often abbreviated SSO, is a method that lets a user access several applications (or secure websites) after a single authentication.
A company can use its own authentication system instead of the local login Dastra provides by default. The most widely used SSO systems include Microsoft Active Directory, Google Workspace (formerly GSuite) and Auth0.
The process works as follows:
A user (User Agent) requests a connection to the service provider (Service Provider), which asks an identity provider (Identity Provider) to authenticate the user. The authentication result is then sent back to the service provider, which accepts the user's connection request.
In Dastra's case, the User Agent is the browser of a Dastra user, the Service Provider is Dastra, and the Identity Provider is your authentication provider (for example Active Directory).

Implementation
A Dastra subscription can hold one or several SSO logins, if the feature is included in your subscription. To manage them, open Organization settings (at the bottom of the Workspace settings menu), then Single sign on. You land on the SSO login configuration page.

The page holds three blocks:
Authorized email domains, at the top: see Email domains.
The list of your SSO connections, which you extend with Add a SSO login.
SCIM, at the bottom: see SCIM.
To create a connection, click Add a SSO login, then choose the protocol. Dastra offers two single sign-on protocols, SAML 2 and OpenID. Use the links below for the configuration guides.
SAML 2OpenIdADFSActive Directory (Microsoft Entra ID)OktaKnown problemsForm fields
The form of an SSO connection opens in a side panel with three sections.
1. General
SSO connection label: the name of the connection in the list, 80 characters at most.
Assign to all users: every user must sign in with this SSO login. See Enable SSO for all users.
Enable: when the connection is disabled, the standard password login remains in effect.
Assign user by default: Dastra selects this connection by default when you invite a new user.
2. Configuration
User's email address claim name mapping (Used if user does not exist locally): the name of the claim in which your identity provider returns the user's email address. If Dastra does not recognize your users, see Known problems.
3. Auto-provisioning
Autoprovision user: turns on automatic account creation. See Enable automatic user provisioning.
The default role assigned to each workspace for the newly created users: optional.
Select a specific workspace: optional. When you choose a workspace, a field appears for the name of the group claim: see Team binding.
Enable SSO for all users
In the list of SSO connections, click the connection.
In the General section, turn on Assign to all users.

Users exempted from SSO login
In some cases you want to turn SSO off for certain users, for example a security administrator, a service account, or a user who is not in your Active Directory. You can name specific users who are not redirected to your organization's SSO login. We recommend naming at least one user with a local service account: it lets you recover from an SSO malfunction, such as an identity provider outage or a configuration error.
These users sign in to the application with their password.
To name them, select users of your organization in the Specific users exempted from SSO (e.g. security administrators) field. This field appears when Assign to all users is turned on.
Enable automatic user provisioning
If you want the users of your identity provider to need no account before they access the organization, turn on Autoprovision user in the Auto-provisioning section.
Automatic provisioning only works when users sign in with the link of your SSO connection. It does not work from the standard login page. The link looks like this:
The addresses in the link are those of your region. To get it, click the Copy signin link button on the connection card, to the right of Test, then send it to your users.

After a successful authentication, the account is created automatically in Dastra. The organization owners then receive a notification that states the name and email address of the account created, the date and time, the SSO connection that created it, the default role assigned and, where applicable, the workspace concerned. It links to the Users page, so that you can grant the expected rights without delay.
You can choose The default role assigned to each workspace for the newly created users.

Team binding
You can bind the teams of a workspace to a property (claim) returned by your authentication server. Select the workspace in Select a specific workspace, then enter the name of the group claim in the field that appears below: Dastra provisions the teams from that claim.
Administer user logins
You set the login type of each user from the user management of the subscription (Organization settings > Users). Open the user's profile and choose the preferred SSO login in Default login method. A user who then signs in to Dastra with their email address is redirected to the login page of the authentication provider you set up.
When SSO is enforced for all users, the profile shows a message to that effect instead.
To change the login method of several users at once, tick them in the Users list, then open Select a batch action above the list and choose Change login method. Select the method in Default login method, then save. External users and users forced into a globally assigned SSO are left untouched. The action appears when SSO is part of your plan.

You can also set the login type when you invite new users.
If you cannot sign in with SSO
Check the known problems first. If you are still blocked, contact support right away.
Last updated
Was this helpful?