Overview
You’ll complete these steps:- Get your OptiDev SSO settings
- Create an Enterprise Application in Azure
- Configure SAML settings
- Set up attribute mappings
- Download the Azure certificate
- Enter Azure details in OptiDev
- Assign users and test
Step 1: Get Your OptiDev SSO Settings
Before creating the Azure app, you need two values from OptiDev.Open SSO Settings
Copy Your Values
| Setting | Example |
|---|---|
| SP Entity ID | https://auth.optiprime.com/saml/abc123 |
| ACS URL | https://auth.optiprime.com/saml/abc123/acs |
Step 2: Create an Enterprise Application
Open Azure Portal
Go to Enterprise Applications
Create New Application
Create Your Own
Name and Create
- Enter OptiDev as the name
- Select Integrate any other application you don’t find in the gallery (Non-gallery)
- Click Create
Step 3: Set Up SAML
Open Single Sign-On
Select SAML
Edit Basic SAML Configuration
Enter OptiDev Settings
| Field | Value |
|---|---|
| Identifier (Entity ID) | Paste your SP Entity ID from Step 1 |
| Reply URL (ACS URL) | Paste your ACS URL from Step 1 |
| Sign on URL | https://app.optidev.ai |
Step 4: Configure Attribute Mappings
Azure sends user information to OptiDev through SAML attributes. You need to configure what gets sent.Edit Attributes & Claims
Verify Required Claims
| Claim name | Source attribute |
|---|---|
emailaddress | user.mail |
givenname | user.givenname |
surname | user.surname |
Check Unique User Identifier
user.userprincipalname or user.mail.Step 5: Download the Certificate
Find SAML Certificates
Download Certificate
Copy Login URL and Identifier
| Field in Azure | What You’ll Call It |
|---|---|
| Login URL | SSO URL |
| Azure AD Identifier | Entity ID |
Step 6: Enter Azure Details in OptiDev
Return to OptiDev SSO Settings
Enter IdP Configuration
| Field | Value |
|---|---|
| Display Name | Microsoft or Azure AD (shown on login button) |
| Entity ID | Paste the Azure AD Identifier |
| SSO URL | Paste the Login URL |
| Certificate | Open the downloaded certificate file in a text editor and paste the entire contents |
Add Your Email Domain
yourcompany.com).All users with this email domain will be directed to Azure for login.Save Configuration
Step 7: Assign Users in Azure
Before users can log in, you need to give them access to the app in Azure.Go to Users and Groups
Add Users
Select Users or Groups
- Click Users to select individual people
- Or click Groups to assign entire teams
Step 8: Test Your Setup
Open an Incognito Window
Go to OptiDev
https://app.optidev.ai and click Sign in with SSO.Enter Your Email
Log In
Troubleshooting
Error: 'AADSTS50105 - User not assigned'
Error: 'AADSTS50105 - User not assigned'
- Go to Users and groups in your Azure app
- Add the user or add them to an assigned group
Error: 'AADSTS700016 - Application not found'
Error: 'AADSTS700016 - Application not found'
- In Azure, go to Single sign-on → Basic SAML Configuration
- Verify the Identifier (Entity ID) matches exactly what OptiDev shows
Error: 'Invalid SAML response'
Error: 'Invalid SAML response'
- Check that the certificate was copied completely (including
-----BEGIN CERTIFICATE-----and-----END CERTIFICATE-----) - Verify the Reply URL (ACS URL) matches exactly
- Make sure there are no extra spaces in the URLs
Login works but user has no access
Login works but user has no access
- The user account was created, but they need to be added to a workspace
- Go to Workspace Settings → Members in OptiDev and invite them
Users from multiple domains
Users from multiple domains
company.com and company.co.uk):- Add each domain in OptiDev SSO settings
- All domains will use the same Azure AD configuration