Single sign-on (SSO)
Single sign-on (SSO) lets your team sign in to Alien with your company's identity provider, such as Okta, Microsoft Entra ID, or Google Workspace. Alien connects to it over SAML 2.0.
- 1
Continue with SSOyour team
On Alien's sign-in page, the person selects Continue with SSO and enters their work email.
- 2
Sign inidentity provider
Alien sends them to the identity provider set up for that email domain.
- 3
Back in AlienAlien
The identity provider returns a signed response. Alien signs them in to their Alien account and adds them to your workspace.
SSO needs the Enterprise plan. Workspace admins set it up in Settings → SSO.
Limits
- SAML 2.0 only. OpenID Connect (OIDC) isn't supported.
- Sign-in starts on Alien's sign-in page. Opening Alien from the app tile in your identity provider isn't supported.
- One connection and one email domain per workspace.
- No SCIM. To remove someone, see Remove access.
Create the SAML app
Copy the ACS URL and Entity ID from Settings → SSO in Alien, and enter them in your identity provider:
| Identity provider setting | Value |
|---|---|
| ACS URL (single sign-on URL, reply URL) | The ACS URL from the SSO page |
| Entity ID (audience) | The Entity ID from the SSO page |
| NameID | The user's email address |
| Signing | Sign the response, the assertion, or both |
Alien reads the email from an attribute named email when the response has one, and from the NameID otherwise. To show people's names, also send givenName and surname, or displayName.
The metadata must list an https sign-in endpoint with the HTTP-Redirect binding, and a signing certificate. Alien refuses metadata without them when you save.
In the Admin Console, go to Applications and Resources → Applications. Select Create App Integration and choose SAML 2.0.
Name the app and select Next.
Set Single sign-on URL to the ACS URL and Audience URI (SP Entity ID) to the Entity ID. Set Name ID format to EmailAddress and Application username to Email.
Select Next, then Finish.
On the Assignments tab, assign the people or groups who use Alien.
On the Sign On tab, open the Metadata URL and copy the XML it returns.
Connect to Alien
Open Settings → SSO.
Enter your email domain, such as acme.dev.
Paste or upload the identity provider's metadata XML.
Choose the default role for new members: viewer or member.
Save the connection.
The domain must match the part of the email after the @ exactly. eu.acme.dev is a different domain from acme.dev.
The domain can't change later. To use another one, delete the connection and create a new one.
When your identity provider's signing certificate changes, select Replace metadata on the SSO page and paste its new metadata.
Verify the domain
Nobody can sign in through the connection until the domain is verified.
At your DNS provider, add the TXT record the SSO page shows. For acme.dev, its name is _alien-sso.acme.dev and its value starts with alien-sso-verification=.
Verify the domain on the SSO page. If the record isn't found yet, wait for DNS to update and try again.
Only one workspace can verify a domain. If another workspace verified it first, verification fails.
Sign in
People on your domain select Continue with SSO on Alien's sign-in page and enter their work email.
- A new user gets access right away and joins your workspace with the default role. Alien doesn't create a personal workspace for them.
- An existing Alien user on the domain is added to your workspace on their first SSO sign-in, unless their Alien account's email was never verified. SSO signs them in to their whole Alien account, including workspaces outside yours.
- A member keeps their current role. The default role applies only when SSO adds them.
- Alien refuses an email from the identity provider that isn't on the verified domain.
Require SSO
Turn on Require SSO on the SSO page once the domain is verified and SSO sign-in works.
- People with an email on the domain can sign in only through SSO. Google, GitHub, and email sign-in are refused, for new sign-ups too.
- Your workspace's admins can still use the other sign-in methods, so a broken identity provider can't lock you out.
- Sessions that are already open, CLI logins, and API keys keep working. To cut someone off now, follow Remove access: unassign them in your identity provider and remove them from the workspace.
Remove access
Alien doesn't support SCIM, so removing someone in your identity provider doesn't remove them from Alien. Do both:
Remove or unassign the user in your identity provider.
In Alien, open Settings → Members and select Remove from workspace for that member.
A member removed only in Alien, and still assigned in the identity provider, is added back on their next SSO sign-in.
Delete the connection
Delete the connection on the SSO page. Members keep their memberships and sign in with an email code instead, or with Google or GitHub when that account uses the same email address.
If the workspace leaves the Enterprise plan, admins can still turn off Require SSO and delete the connection.