Tutorials · Security
How to Add Single Sign-On (SAML or OpenID Connect) to Network Management
Let engineers sign in to firewalls, controllers and cloud dashboards with company accounts and MFA: choose SAML or OpenID Connect, map groups to roles and keep an emergency login.
Quick answer
Single sign-on (SSO) moves admin logins from many local password databases to one identity provider (IdP), such as Microsoft Entra ID, Okta or Google Workspace. People sign in once with MFA, and disabling a leaver's company account removes their network access everywhere.
SAML 2.0 and OpenID Connect (OIDC) are the two standard protocols. Use whichever your management platform supports. Many support both.
Key terms
- Identity provider (IdP)
- The system that holds user accounts and performs authentication and MFA.
- Service provider (SP) / relying party
- The application the admin signs in to, such as a firewall GUI or cloud dashboard.
- SAML assertion
- A signed XML statement from the IdP saying who the user is and which groups they belong to.
- OIDC ID token
- A signed JSON Web Token (JWT) with the same purpose, built on OAuth 2.0.
- Federation
- Trust between organisations or systems so one login works across them.
Before you start
- An identity provider with MFA enabled
- A management platform that supports SAML or OIDC
- Groups in the IdP for each admin role
Step by step
Create the application in the IdP
Add a SAML or OIDC app. Enter the SP's entity ID and assertion consumer service (ACS) URL, or its redirect URI for OIDC.
Exchange metadata
Import the IdP metadata (or issuer URL and client ID) into the management platform, and the SP metadata into the IdP.
Send group claims
Configure the IdP to include group membership in the assertion or token.
Map groups to admin roles
In the platform, map 'net-viewers' to read-only, 'net-engineers' to engineer, and so on. Unmapped users get no access.
Enforce MFA and conditional access
Require phishing-resistant MFA and allow admin access only from managed devices or trusted locations.
Keep an emergency login
Keep one local admin per platform for IdP outages, stored in a vault and alerted on use.
Test joiner, mover and leaver
Add a test user to a group, change the group, then disable the account. Confirm access changes each time.
Pro tips
- SSO is only as strong as the IdP. Protect IdP admin accounts with hardware security keys.
- Prefer SP-initiated login, and set a short session lifetime for admin portals, such as 8 hours.
SAML vs OpenID Connect
| SAML 2.0 | OpenID Connect | |
|---|---|---|
| Format | Signed XML assertions | Signed JSON Web Tokens |
| Built on | Its own XML framework | OAuth 2.0 |
| Best for | Enterprise web apps, older admin portals | Modern web and mobile apps, APIs |
| Typical IdPs | Entra ID, Okta, ADFS, Google | Entra ID, Okta, Google, Keycloak |
Standards and references
Last reviewed:
FAQ
Frequently asked questions
What is the difference between SAML and OAuth?
SAML is for authentication (signing users in). OAuth 2.0 is for authorization (granting an app access to an API). OpenID Connect adds an authentication layer on top of OAuth 2.0.
Does SSO replace TACACS+ for switches?
Not usually. Web dashboards and cloud platforms use SAML or OIDC. Device CLIs still use TACACS+ or RADIUS, which can themselves check passwords against the same directory.
Keep learning
Related guides
Passkeys and FIDO2
Read more →Least-privilege admin access
Read more →ZTNA vs VPN vs SASE
Read more →How to Enable 802.1X Port Authentication on Switches
Stop unknown devices from using your network ports: configure 802.1X with RADIUS and MAC-authentication bypass for printers and cameras.
Read more →How to Secure the Management of Switches, Routers and Access Points
A hardening checklist for every network device: strong credentials, SSH only, a management VLAN, access lists and logging.
Read more →How to Segment IoT and CCTV Devices From Your Main Network
Put cameras, smart TVs, sensors and building systems in their own VLANs so one compromised device cannot reach your business systems.
Read more →Stuck on a step?
Ask Navijin technical support or an authorised partner for help with your configuration.