With Single sign-on (SSO), your users sign in to your identity provider once and then access d.vinci without entering a password again. To make this work, two systems have to be introduced to each other: d.vinci (the service provider) and your identity provider (IdP).
This guide shows the setup using Microsoft Entra ID (formerly Azure Active Directory) as an example.
Note
Many different third-party solutions can act as an identity provider. This guide is therefore only an example and applies only to the software named here, in the state described. Microsoft changes the Entra admin center interface regularly – labels may differ slightly on your side. For authoritative information, please refer to the vendor's product documentation.
Feel free to contact us if you need support with the setup.
What you need beforehand
- In d.vinci: access to Basic Settings and to the Users administration
- In Microsoft Entra ID: at least the Cloud Application Administrator role
- The information about which attribute in Entra ID corresponds to the user name in d.vinci (see the section "The NameID has to match")
How the setup works
The setup is an exchange in both directions:
- Create an application for d.vinci in Entra ID
- Get the metadata from d.vinci
- Configure SAML in Entra ID
- Store the metadata from Entra ID in d.vinci (by URL or by file)
- Control access to the application in Entra ID
- Make sure the NameID that is sent matches the d.vinci user name
- Enable SSO for the affected users in d.vinci
Step 1: Create the application in Entra ID
- Sign in to the Microsoft Entra admin center.
- In the left-hand navigation, open Entra ID → Enterprise apps and then All applications.
- Click New application.
- Click Create your own application.
- Under What's the name of your app? enter a name, for example d.vinci SSO, select the option Integrate any other application you don't find in the gallery (Non-gallery) and click Create at the bottom.
Step 2: Get the metadata from d.vinci
- Switch to d.vinci and open Basic Settings → SSO tab.
The tab is split into two areas: on the left the Identity Provider Configuration (which you fill in in the section "Store the IdP metadata in d.vinci"), on the right the Service Provider Information with the details your identity provider needs.
- On the right, under Service Provider Information, open the link Service Provider Metadata XML and save the file. It has the form https://<domain-of-your-system>/plt/samlConfig/spMetadataXml.
Tip
This link can also be reached without signing in to d.vinci. So if the metadata has to be passed on to an external IT department, for example, sending the address is enough.
Step 3: Configure SAML in Entra ID
- Back in the Entra admin center: in the application you just created, open Manage → Single sign-on and select the SAML method.
- Click Upload metadata file at the top, select the file from d.vinci and click Add. This fills the fields under 1 Basic SAML Configuration automatically.
Alternatively you can enter Identifier (Entity ID) and Reply URL by hand; both values are contained in the metadata file from d.vinci.
- Click Save to apply the imported configuration.
- Scroll to the section 3 SAML Certificates and click Edit next to the Token signing certificate.
- In the SAML Signing Certificate dialog, set Signing Option to Sign SAML response and assertion and click Save at the top.
- In the same section, use the copy icon to copy the App Federation Metadata Url.
Step 4: Store the IdP metadata in d.vinci
There are two ways to provide your identity provider's metadata in d.vinci. We recommend the URL option.
Option A (recommended): by URL
- Switch to d.vinci, go to Basic Settings → SSO tab and click the edit icon (pencil) next to Identity Provider Configuration. As long as no configuration is stored, it says No data available.
- For Source, select the option URL, enter the address you copied in the section "Configure SAML in Entra ID" into the IdP Metadata XML URL field and click Update.
Caution
Changes to the configuration also affect application portals that are secured with this data via SSO.
d.vinci fetches the metadata from this address again once a day at 4:00 am. This also supports a rolling replacement of the token signing certificate: if your identity provider renews the certificate, d.vinci picks up the change automatically, without you having to do anything. Expect a delay of up to 24 hours – if you need it faster, simply click Update in the form again.
- Check the result: after saving, the Identity Provider Configuration area is filled in and shows IdP Metadata XML, Last update, IdP Metadata XML URL, IdP Issuer/ EntityID, IdP Redirect Binding URL and IdP X.509 Certificates with their validity period. If those values are there, d.vinci has successfully read your identity provider's metadata.
Option B: by file upload
Alternatively, in the same form select the option File for Source and upload your identity provider's metadata in the IdP Metadata XML field. This makes sense, for example, if the identity provider does not offer a publicly reachable metadata URL.
Please note: the file is a snapshot. As soon as the metadata changes – in particular when the token signing certificate is replaced – you have to upload the file again manually, otherwise sign-in will fail from the moment of the change. The daily automatic update only applies to the URL option.
If your file contains more than one identity provider, d.vinci reports "The uploaded file contains more than one Identity Provider. Please select the IdP to be used for the configuration of SSO in d.vinci." In that case, select the matching IdP in the form and upload the file again.
Step 5: Control access in Entra ID
In Entra ID, the setting Assignment required? under Manage → Properties is set to Yes by default. As long as that is the case, Entra ID rejects every user who is not explicitly assigned to the application. You therefore have to implement one of the two options.
Option A: turn off assignment (simpler)
- In the application, open Manage → Properties, set Assignment required? to No and click Save.
This means that all users in your tenant are generally allowed to use the application. Who actually has access to d.vinci is still controlled through the user administration in d.vinci – where the users are maintained anyway.
Option B: assign users and groups
- Leave Assignment required? set to Yes and open Manage → Users and groups.
- Click Add user/group and assign all users or groups that are supposed to use d.vinci via SSO. From then on you have to maintain this list in parallel with the user administration in d.vinci.
Which option fits is up to you and usually depends on your internal IT policies.
Step 6: The NameID has to match
d.vinci needs exactly one value from the SAML response: the NameID. It has to match the user name of the respective user in d.vinci exactly. No other claims or attributes are evaluated.
Important
SSO does not create users. d.vinci only compares the NameID against the users that already exist – anyone who is not set up in d.vinci (or whose Login enabled until date has passed) cannot sign in via SSO either. There is no automatic user provisioning from Entra ID; user administration stays in d.vinci.
Which attribute you use for this in Entra ID is your decision – common choices are the email address, the UPN or the Windows sign-in name, but it can be any other attribute as well, as long as the values match the user names in d.vinci.
By default, Entra ID supplies the attribute user.userprincipalname as the Unique User Identifier, and Name identifier format is set to Email address. If that matches your d.vinci user names, there is nothing to change here. This is how you check or change the mapping:
- In the application, open Single sign-on, scroll to 2 Attributes & Claims and click Edit.
- Under Required claim, click the row Unique User Identifier (Name ID).
Note
Click the row itself, not the three dots at the end of the row: for the required claim, the three-dot menu only offers Delete, and that option is greyed out.
- In the Manage claim dialog, select the format you want under Name identifier format and, under Source attribute, the attribute that contains the d.vinci user name. Then click Save.
Example, Windows sign-in name: set Name identifier format to Default and Source attribute to user.onpremisessamaccountname.
Prerequisite for this example
The attribute user.onpremisessamaccountname has to be populated in Entra ID. It is usually created when a local Active Directory is synchronised with Entra ID (for example via Microsoft Entra Connect). Without synchronisation the attribute is empty and sign-in will fail.
Step 7: Enable SSO for the users in d.vinci
- In d.vinci, open the Users administration and set Single Sign-on to Yes for every user who is supposed to sign in via SSO from now on.
Note
The Single Sign-on setting only appears on the user once the Identity Provider Configuration is stored. If you cannot find the field, the section "Store the IdP metadata in d.vinci" is still missing.
- Directly above it is the setting Username/ Password. It stays in effect independently of SSO: as long as it is set to Yes, the user can still sign in with a user name and password. If you want to enforce SSO, set it to No.
Caution
Only set Username/ Password to No once sign-in via SSO has been verified to work for that user. If both settings are set to No, the user cannot sign in at all.
Afterwards, test signing in with a single user before you roll SSO out more broadly.
Good to know
For newly created users, d.vinci applies the settings automatically from now on: as soon as an Identity Provider Configuration is stored, the form has Single Sign-on set to Yes and Username/ Password set to No. So if a new user needs password sign-in, you have to change that actively.
How your users will sign in from now on
d.vinci does not redirect to the identity provider automatically. On the sign-in page, a Single Sign-on button appears in addition to signing in with a user name and password. It is only present once the Identity Provider Configuration is stored.
How prominently the button is placed depends on how many of your active users use SSO:
- The majority uses SSO: the Single Sign-on button is at the top, above the user name and password fields, and is highlighted as the primary action.
- The minority uses SSO: user name and password are at the top, the cursor is in the user name field, and the Single Sign-on button follows below the form.
The tipping point is the halfway mark: as soon as more active users use SSO than user name and password, the button moves to the top. So your users may have to scroll down first – a common reason for reports that SSO "doesn't work".
Signing out. Signing out in d.vinci only ends the d.vinci session, not the session at the identity provider – there is no single logout. Anyone who signs out and then clicks Single Sign-on again is signed straight back in, without a sign-in prompt. That is expected behaviour and not a fault. On shared devices, your users additionally have to sign out at the identity provider or close the browser window.
Two-factor authentication. The two-factor authentication in d.vinci only applies to signing in with a user name and password. Anyone signing in via SSO is not asked for an additional code – the second factor is then handled by your identity provider (with Microsoft Entra ID, for example, via MFA and Conditional Access policies). Plan for this if you have 2FA enabled in d.vinci and are switching users to SSO.
Turning SSO off again
For individual users: in the user administration, first set Username/ Password to Yes and only then set Single Sign-on to No. The order matters – if both settings are set to No at the same time, the user can no longer sign in.
For the whole system: in Basic Settings → SSO tab, click Delete in the top right and confirm the prompt. d.vinci then discards the Identity Provider Configuration including the stored metadata file. The Single Sign-on button disappears from the sign-in page, and the Single Sign-on setting is no longer visible on the user form.
Caution
Check beforehand which users have Username/ Password set to No and set those to Yes. Otherwise they will have no way to sign in after the deletion. The Single Sign-on setting itself remains stored per user and becomes visible again as soon as you store a configuration again.
In Entra ID you can then delete the enterprise application or set the method under Single sign-on to Disabled. Don't forget the application portals that may be secured with the same configuration.
If sign-in does not work
| Symptom | Possible cause |
|---|---|
| Entra ID reports that the application is not assigned | "Assignment required?" is set to "Yes" (the default), but the user is not assigned – see the section "Control access in Entra ID" |
| d.vinci cannot find the user (message "Single Sign-On failed.") | The NameID that was sent does not match the user name in d.vinci – see the section "The NameID has to match" |
| The user still ends up on the password sign-in | "Single Sign-on" is not set to "Yes" for the user in d.vinci (section "Enable SSO for the users in d.vinci") – or the button is below the sign-in form and was overlooked (section "How your users will sign in from now on") |
| Sign-in fails with a signature error | The signing option is not set to "Sign SAML response and assertion" (section "Configure SAML in Entra ID") |
| Sign-in used to work and suddenly fails for everyone | The token signing certificate was renewed in Entra ID and the metadata is stored in d.vinci as an uploaded file. Upload the file again or switch to the URL option (section "Store the IdP metadata in d.vinci") |
| The user is signed back in after signing out, without a prompt | Not a fault: d.vinci only ends its own session, not the one at the identity provider – see the section "How your users will sign in from now on" |
| The user is not asked for a 2FA code when using SSO | Expected behaviour: the two-factor authentication in d.vinci only applies to signing in with a user name and password |
Your users see these two messages themselves when sign-in fails:
| Message on the sign-in page | Possible cause |
|---|---|
| "Single Sign-On failed." | Either d.vinci rejected the SAML response (signature, certificate, validity period – check the signing option), or authentication at the identity provider worked but there is no user in d.vinci for the NameID that was sent, or that user's Login enabled until date has passed |
| "The SSO login configuration is incorrect. Please contact your administrator." | The identity provider's response contained no NameID, or the SSO configuration is incomplete. Check the required claim (section "The NameID has to match") and the Identity Provider Configuration |
d.vinci also points out problems itself. These messages can appear:
| Message in d.vinci | Meaning and remedy |
|---|---|
| "An error occurred during the automated update of the Identity Provider Configuration." | A warning on the SSO tab: the daily fetch of the metadata URL failed. The specific cause is shown underneath. Check whether the address is still reachable and then click Update. |
| "The Identity Provider Configuration could not be downloaded. Status: …" | The request to the metadata URL was rejected with the HTTP status shown – usually a wrong address or one that is not publicly reachable. |
| "The single sign-on certificate will expire soon. …" | The certificate from the IdP metadata is about to expire. The warning appears 20 days in advance with the file option, and only 5 days in advance with the URL option – there, d.vinci normally picks up a renewed certificate itself. With the file option you have to upload the file again. |
| "Single sign-on does not work correctly. Please check the SSO settings." | The automatic certificate replacement failed. Open the SSO tab and check the Identity Provider Configuration. |
| "The uploaded file contains more than one Identity Provider. …" | Option B only: select the IdP to be used in the form and upload the file again. |
Only users who are allowed to edit the basic settings see the two certificate warnings.