How to Configure Duo SSO SAML 2.0 for NinjaOne
All docs on this site are unofficial
Prerequisites:
Outline
- What’s been tested
- SSO Configuration Steps
What’s been tested:
I have tested the following and confirmed they work:
- SP-initiated authentication
- Duo Passwordless
SSO Configuration Steps
Create a NinjaOne application in Duo
- Login to your Duo Admin Panel
- Navigate to Protect an Application
- Search for Generic Service Provider and click Protect Note: be sure to select the one for Single Sign-On (hosted by Duo)
- Copy the Metadata URL OR next to SAML Metadata click Download XML and save the file to your desktop
- Do not close out of the NinjaOne admin console as we will be returning to finish the configuration shortly
Configure SSO for NinjaOne
- Login to your NinjaOne account as an administrator
- Click Configuration
- Navigate to Accounts - Single Sign-On (Beta) then click Configure
- Copy the SP Identifier (Entity ID) and Assertion Reply URL URLs
Configure the NinjaOne application in Duo
- Navigate back to your new Generic Service Provider application within the Duo Admin pane
- Next to Service Provider Name input NinjaOne
- Next to Entity ID input the SP Identifier (Entity ID) you just grabbed from your NinjaOne admin console. It shoudl be something similar to: https://app.ninjarmm.com/ (make sure to include the trailing /)
- Next to Assertion Consumer Service input the Assertion Reply URL you copied from the NinjaOne admin console. It should be something similar to: https://app.ninjarmm.com/ws/account/saml-login
- NameID format should stay as the default: urn.oasis:names:tc:SAML:1.1:nameid-format:emailAddress
- Next to NameID attribute input the attribute that maps to your email address. If possible, I always recommend choosing Duo’s preconfigured attributes, in this case
This will allow you to change Duo SSO Authentication Source in the future, if needed. For example, from AD to a SAML IdP. - Next to Signing options leave both Sign response and Sign assertion checked.
- Scroll down to the Policy section and choose the policy you wish to implement for this application. If you created a Passwordless policy, be sure to select that now if you want Passwordless authentication into NinjaOne.
- Scroll down to the Settings section and next to Name add NinjaOne. You may also want to configure other options under this section, depending on how you have Duo MFA configured for your users.
- Scroll to the bottom and click Save
Return to the NinjaOne Admin Console
Finish the NinjaOne SAML configuration
- From the Single Sign-One (Beta) configuration page, click File, URL, or </>XML. In my testing I choose URL
- Add the Metadata URL or File from which you received from the Duo SSO application we just created.
- Click Test and perform an authentication.
- After a successful authentication click Save
- To enable SAML authentication right away, click Enable Now
- Before any users can start using SAML authentication, you must navigate to their profile within your NinjaOne admin console and change their Authentication Type to Single Sign-On.
You are now ready to use Duo SSO for SAML authentication into NinjaOne. Note, today SAML authentication is only avaiable for Administrators and Technicians within the NinjaOne Website. It is not available for End Users or the NinjaOne mobile application.