Configure SAML-based single sign-on between Okta and CodeRabbit for your Enterprise organization.
Use this guide to configure Okta as the identity provider for CodeRabbit. The current setup is support-assisted: you create the Okta SAML application, collect the required metadata, and then send the final values to CodeRabbit for enablement.
Sign in to your Okta Admin Console, then go to Applications -> Applications and click Create App Integration.In the Create a new app integration dialog, select SAML 2.0 and click Next.
Select SAML 2.0 when creating the Okta app integration
On the General Settings screen, enter a clear app name such as CodeRabbit, optionally upload a logo, and continue to the SAML configuration screen.
2
Fill in the SAML configuration
In the SAML settings screen, use the following values:
Field
Value
Single sign-on URL
Provided by CodeRabbit
Audience URI (SP Entity ID)
Provided by CodeRabbit
Default RelayState
Leave blank
Name ID format
EmailAddress
Application username
Email
No attribute statements are required. Leave the Attribute Statements and Group Attribute Statements sections empty.Click Next and complete the wizard to create the application.
3
Retrieve your Okta SAML metadata
After the app is created, open Applications -> Applications -> your CodeRabbit app -> Sign On.Scroll to SAML Signing Certificates, find the certificate marked Active, and open Actions -> View IdP metadata. This opens the XML metadata page that contains the values CodeRabbit needs.
Use the active signing certificate actions menu to view IdP metadata or download the certificate
Collect the following values from the metadata XML:
Sign-on URL: copy the Location attribute from the md:SingleSignOnService element
Issuer: copy the entityID attribute from the md:EntityDescriptor element
Signing certificate: copy the ds:X509Certificate value
If you prefer, you can also download the certificate directly from the Sign On tab using Actions -> Download certificate.
4
Assign people or groups
Open the Assignments tab for the app, click Assign, and assign the people or groups that should be allowed to sign in to CodeRabbit.Users cannot authenticate through Okta until they are assigned to the application.
5
Send the configuration to CodeRabbit and validate access
Send the following items to your account team:
Your organization’s email domain
The Okta Sign-on URL
The Okta issuer
The signing certificate file
After CodeRabbit confirms the configuration is enabled, test the sign-in flow with an assigned user account. Assigned users are added to your CodeRabbit organization automatically on first SSO login.