Active Directory
This page explains how to set up Dastra's SSO with Microsoft's Active Directory using the Saml2P protocol.
Dernière mise à jour
This page explains how to set up Dastra's SSO with Microsoft's Active Directory using the Saml2P protocol.
Dernière mise à jour
Go to the Microsoft Azure portal: https://portal.azure.com/
Click on Active Directory
In the left navigation, click on Enterprise Applications
Click on the New application button
Then click on Create your own application
Enter the name of the application, you can simply put "Dastra"
Select the box "Integrate any other application you don't find in the gallery (Non-gallery)"
Your application is created!
Click on Single-Sign-On and select SAML
You will arrive to this page:
Go to the Dastra SSO configuration page
Click on "Add an SSO login"
Select SAML as the "SSO Protocol" type
Enter a connection label. For example, "Active Directory"
Return to the SAML configuration page of Active Directory
Click on the "Edit" button in the first part.
Enter the connection information (Entity ID and ACS Url) in the following way:
Click on Save
Go directly to part 3 to download the certificate in base64 format.
Open the CER file with your preferred text editor (for example, Notepad) and copy the content (CTRL + C).
Return to the SAML connection creation screen in Dastra
Paste the text of the certificate into the "Identity Provider Certificate (RAW)" field (CTRL + V)
Copy the three links Entity Id, SSO Url, and Logout Url from step 4 of Active Directory
Copy the URLs following this scheme:
Login URL => Single sign-on url
Azure AD Identifier => Identity provider's Entity Id
Logout Url => Identity provider Signout url
Your SSO configuration form in Dastra should look like this:
Save your changes in Dastra.
Before testing the connection, make sure that a user is assigned to the new application.
Then click on the "Test" button at the bottom of the form in the Active Directory. If everything works correctly, you should be redirected to the Dastra application.
If you have not activated automatic account provisioning, Dastra will deny access if the local account has not been created via an invitation.