Azure Active Directory SSO
Installation
Log in to the Azure portal.
(If you don't require a permission group for Sentry, skip to Step 4.) Under Manage Azure Active Directory (the shield picture), click "View", which takes you to the Organization Overview page. Now, proceed to Step 3.
In the search bar, search for "Groups" and navigate to "Groups." From there, create a new group, add an owner, and members to the group. Set "Group type" to Office 365. For more details about group creation, see the Azure docs.
Return to the Overview page. In the search bar, search for "Enterprise Applications" and navigate to "Enterprise Applications." Click "+ New application". Then, select "Non-gallery application" and create a non-gallery application for Sentry. Once created, you'll be directed to "Sentry - Overview.
Click on
1. Assign users and groups
, with "+ Add user" add yourself and the group you've created to the Sentry app. Click "Assign".Navigate back to "Overview," click on
2. Set up single sign-on
and then select SAML as your single sign-on method.For Section (1) labeled as
Basic SAML Configuration
, enter the following data in each line and save your changes.Identifier (entity ID):
https://sentry.io/saml/metadata/YOUR-ORG-SLUG/
Reply URL (Assertion Consumer Service URL):
https://sentry.io/saml/acs/YOUR-ORG-SLUG/
Sign on URL:
https://sentry.io/auth/login/YOUR-ORG-SLUG/
Relay State:
https://sentry.io/
Logout URL:
https://sentry.io/saml/sls/YOUR-ORG-SLUG/
In Section (3) labeled as
SAML Signing Certificate
, copy theApp Federation Metadata URL
.Navigate to your Org Settings > Auth > Azure (or go to
https://sentry.io/settings/<YOUR-ORGANIZATION-SLUG>/auth/
) and click on "Configure" for Active Directory.Paste the App Federation Metadata URL and click "Get metadata".
In the following page, enter these to map the values from AzureAD to Sentry.
IdP User ID:
http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name
User Email:
http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress
First Name:
http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname
Last Name:
http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname
For more details about mappings for custom configs, see The Role of Claims.