Before you start
- An Allthenticate admin portal account that can manage SSO.
- A NinjaOne account with the Administrator role.
- A test user who exists in both Allthenticate and NinjaOne with exactly the same email address, including capitalization.
- Your NinjaOne regional instance:
app.ninjarmm.com(US),eu.ninjarmm.com(EU),oc.ninjarmm.com(Oceania) orca.ninjarmm.com(Canada). The SAML configuration applies only to the instance you set it up on.
Configure in Allthenticate
1
Get NinjaOne's service provider values
In NinjaOne, go to Administration > Apps > Single Sign-On (the location can differ between NinjaOne versions) and create a SAML configuration. In Service Provider Details, copy the Assertion Consumer Service (ACS) URL and the Service Provider Entity ID (audience).
2
Add the service provider
In the admin portal, go to SSO > SAML and select Add Service Provider. Enter a Provider Name, uncheck Use Metadata File, and paste NinjaOne’s entity ID into Entity ID and its ACS URL into ACS URL. The SAML setup guide shows the dialog with Use Metadata File unchecked.
3
Add the attributes
Under Custom Attribute Statements, select Add Attribute for each:
NinjaOne’s expected attribute names can vary by region and version. Check the names on NinjaOne’s SSO page and match them exactly, including capitalization.
4
Save and copy the identity provider values
Select Save, then open the service provider from the list. Under Metadata, copy the SSO Endpoint (
https://saml.allthenticate.com/saml/sso/<sp-id>) and the Entity ID (https://saml.allthenticate.com/saml/metadata/<sp-id>), and select Download Public Key for the signing certificate. Download Metadata saves all of these in one XML file, which some NinjaOne versions can import directly.Configure in NinjaOne
1
Enter the identity provider values
Back on NinjaOne’s SSO page, fill in the Identity Provider section, or import the metadata file:
2
Choose how users are created
To have NinjaOne create users on their first SSO sign-in, turn on JIT (Just-In-Time) provisioning and set a default role. Without a default role, new users sign in with no permissions.
3
Save without enforcing SSO
Save the configuration. Don’t enforce SSO yet.
Test sign-in
NinjaOne’s normal login form asks for an email and password and doesn’t redirect to SSO. Test with the dedicated SP-initiated login URL instead.- On NinjaOne’s SSO page, copy the URL labeled SP-Initiated Login URL, SSO Login URL or Service Provider Login URL. If you can’t find it, it’s the
SingleSignOnServiceendpoint in NinjaOne’s SP metadata XML. - Open the URL in a private browser window, so existing sessions don’t skip steps.
- NinjaOne redirects straight to Allthenticate. Approve the request on the test user’s phone.
- You land on the NinjaOne dashboard, signed in as the test user.
Troubleshooting
NinjaOne shows its normal login form instead of Allthenticate
NinjaOne shows its normal login form instead of Allthenticate
You opened the standard login page (for example
app.ninjarmm.com/auth/login), which is for local accounts. Use the SP-initiated login URL from NinjaOne’s SSO page.Email not found, or the user isn't provisioned
Email not found, or the user isn't provisioned
The email Allthenticate sent doesn’t match a NinjaOne user. Check that the
email attribute maps to user.email and that the addresses match exactly. To create users automatically, turn on JIT provisioning with a default role.Invalid audience or signature error
Invalid audience or signature error
The Entity ID on the Allthenticate service provider doesn’t match NinjaOne’s SP entity ID. Copy it again from NinjaOne and update it in Allthenticate.
Invalid certificate or signature validation failure
Invalid certificate or signature validation failure
NinjaOne has a different certificate from the one Allthenticate signs with. Download the public key or metadata again and re-enter it in NinjaOne, making sure nothing was cut off.
InResponseTo rejected, or unsolicited response
InResponseTo rejected, or unsolicited response
NinjaOne received a response it didn’t ask for, because the sign-in started at Allthenticate instead of NinjaOne. Start from NinjaOne’s SP-initiated login URL.