Skip to main content

Single Sign-On (SSO)

Single Sign-On enables your team to access Crew using your organization’s identity provider. SSO improves security, simplifies user management, and provides a seamless login experience.
SSO is available on Enterprise plans. Contact sales@usecrew.ai to enable.

Supported Providers

SAML 2.0

OIDC

Setup

SAML Configuration

1

Get Crew's SAML Details

Navigate to SettingsSecuritySSOCopy:
  • ACS URL: https://api.usecrew.ai/auth/saml/callback
  • Entity ID: https://api.usecrew.ai/saml/metadata
  • Metadata URL: https://api.usecrew.ai/saml/metadata.xml
2

Configure Your IdP

In your identity provider:
  • Create a new SAML application
  • Enter Crew’s ACS URL and Entity ID
  • Configure attribute mappings (see below)
3

Upload IdP Metadata

In Crew:
  • Upload your IdP’s metadata XML, or
  • Enter IdP SSO URL and certificate manually
4

Test Connection

Use the Test SSO button to verify configuration
5

Enable for Users

Choose enforcement mode and enable SSO

Required Attributes

Attribute Mapping

Configure in Crew:

OIDC Configuration

1

Create OIDC Application

In your identity provider, create an OIDC application
2

Configure Redirect URI

Set redirect URI to: https://api.usecrew.ai/auth/oidc/callback
3

Enter Details in Crew

  • Client ID
  • Client Secret
  • Issuer URL
  • Scopes (openid, profile, email)
4

Test and Enable

Test the connection and enable for users

User Provisioning

Just-in-Time (JIT) Provisioning

Users are automatically created on first SSO login:

SCIM Provisioning

For automated user lifecycle management:
SCIM supports:
  • User creation
  • User updates
  • User deactivation
  • Group synchronization

Group Mapping

Map IdP groups to Crew roles:

Enforcement Modes

Optional SSO

Users can choose SSO or password:

Required SSO

All users must use SSO:
Password login is disabled when SSO is required.

Domain-Based Enforcement

Require SSO for specific email domains:

Session Management

Session Duration

Configure SSO session length:

Single Logout (SLO)

Enable single logout to end sessions across all applications:

Security Features

MFA via IdP

When SSO is enabled, MFA is enforced through your identity provider.

Session Controls

  • Force re-authentication for sensitive actions
  • Configurable session timeouts
  • Device tracking and management

IP Restrictions

Combine SSO with IP allowlisting:

Provider-Specific Guides

Okta

  1. Create new SAML 2.0 application
  2. Set Single Sign On URL to Crew’s ACS URL
  3. Set Audience URI to Crew’s Entity ID
  4. Configure attribute statements:
    • email → user.email
    • firstName → user.firstName
    • lastName → user.lastName
  5. Download metadata XML
  6. Upload to Crew

Azure AD

  1. Create Enterprise Application
  2. Select SAML single sign-on
  3. Configure Basic SAML:
    • Identifier: Crew Entity ID
    • Reply URL: Crew ACS URL
  4. Configure Attributes & Claims:
    • Add email, givenname, surname claims
  5. Download Federation Metadata XML
  6. Upload to Crew

Google Workspace

  1. Go to Admin Console → Apps → SAML Apps
  2. Add custom SAML app
  3. Configure Service Provider Details:
    • ACS URL: Crew’s ACS URL
    • Entity ID: Crew’s Entity ID
  4. Map attributes:
    • Primary email → email
    • First name → firstName
    • Last name → lastName
  5. Download IdP metadata
  6. Upload to Crew

Troubleshooting

Common Issues

Debug Mode

Enable debug logging for troubleshooting:
Disable debug mode after troubleshooting. It may log sensitive data.

Testing

Use the SSO test tool:
  1. Go to SettingsSecuritySSO
  2. Click Test SSO Login
  3. Review the test results for errors

Audit Logging

SSO events are logged:

Best Practices

Test SSO with a few users before requiring it for everyone.
Maintain one admin account with password login for emergencies.
Automate role assignment through IdP groups.
Set appropriate session durations based on security requirements.
Automate user lifecycle with SCIM provisioning.

Next Steps