Skip to main content
Use this guide to configure a SAML 2.0 identity provider that is not covered by a provider-specific CodeRabbit guide. The account management SSO wizard provides the CodeRabbit service provider values, expected SAML attributes, metadata configuration step, test flow, and activation step. After SSO is activated, users with a verified email domain must sign in to CodeRabbit through your identity provider.

Before you start

Make sure you have:
  • Critical: You must have an invitation to your CodeRabbit organization from your CodeRabbit account team before starting this setup.
  • Organization admin access in the CodeRabbit account management page
  • Administrator access to your identity provider
  • Permission to create and configure SAML 2.0 applications in your identity provider
  • Access to your DNS provider if your email domain still needs verification
  • The users, groups, or organizational units that should be allowed to sign in through SSO
If you do not see the Security section or the Start configuration button in your organization profile, contact your CodeRabbit account team. Your organization must be prepared for self-serve SSO before the account management SSO wizard appears.

Set up Custom SAML self-serve SSO

1

Open the account management SSO wizard

Accept your CodeRabbit organization invitation and sign in to the account management page. Open the organization switcher, find the invited organization, and click Manage.In the organization profile, select Security, and click Start configuration.
Organization profile Security section with the Start configuration button highlighted

Start SSO configuration from the Security section

2

Add and verify your email domain

In Domains, enter the email domain that should use your identity provider for CodeRabbit sign-in, then click Add.If the wizard asks you to add a DNS record, add the generated TXT record in your DNS provider and wait for the domain to show Verified before continuing.
Domain verification step showing the email domain verified and redacted

Continue after the email domain shows Verified

3

Select Custom SAML Provider

In Connection, select Custom SAML Provider as the identity provider.
Identity provider selection screen with the Custom SAML Provider tile highlighted

Select Custom SAML Provider as the identity provider

4

Create a SAML app in your identity provider

In your identity provider, create a new SAML 2.0 application for CodeRabbit. Use a clear app name such as CodeRabbit.Copy the CodeRabbit service provider values from the account management SSO wizard into the matching fields in your identity provider:
Account management SSO wizard showing the ACS URL and Entity ID fields redacted

Copy the service provider values into your SAML application

5

Map SAML attributes

Configure your identity provider so the SAML response includes the attributes CodeRabbit expects. Attribute names are case-sensitive.The mail attribute is required. firstName and lastName are optional, but adding them helps CodeRabbit populate user profile details correctly.
Account management SSO wizard showing required and optional SAML attributes

Review the required and optional SAML attributes

6

Assign users or groups to the SAML app

In your identity provider, assign the users, groups, or organizational units that should be allowed to sign in to CodeRabbit through SSO.Users cannot complete SSO sign-in until they are assigned to the SAML application in your identity provider.
Account management SSO wizard reminding admins to assign users or groups before testing SSO

Assign users or groups before testing SSO

7

Add identity provider metadata

In your identity provider’s SAML application, retrieve the metadata URL.Return to the account management SSO wizard. In Configure identity provider metadata, keep Add via metadata selected, paste the metadata URL, and continue.If your identity provider does not provide a metadata URL, select Configure manually and enter the SAML metadata values from your identity provider.
Account management SSO wizard with the Metadata URL input highlighted

Paste the metadata URL from your identity provider

8

Test the SSO connection

In Test, click Open test URL and complete the sign-in flow with a user who has access to the SAML app and whose email matches your verified domain.Return to the account management SSO wizard and click Refresh logs until the latest test result shows Success. Do not activate SSO while the latest result is Pending or failed.
Account management SSO wizard showing the Open test URL button and a pending test result with timestamp redacted

Open the test URL and refresh logs until the result succeeds

9

Activate SSO

In Activate, review the activation message and click Activate SSO.
Activation changes sign-in behavior for the verified domain. After activation, users with that email domain must sign in to CodeRabbit through your identity provider.
Account management SSO wizard with the Activate SSO button highlighted and the domain redacted

Activate SSO after the connection test succeeds

What’s next

Enterprise SSO overview

Return to the SSO overview to understand how Enterprise SSO fits into your CodeRabbit rollout.

Roles and permissions

Pair SSO with the right access controls by reviewing how roles work in your CodeRabbit organization.

Support

Contact CodeRabbit if the Security section is missing or the SSO test does not succeed.