WZ-IT Logo

SSO & MFA for the Remote Access Portal

Timo WevelsiepTimo WevelsiepUpdated: 30.06.2026

Editorial note: Versions, commands and prices may change. Please verify critical steps independently before production use. This guide does not replace individual consulting.

Building a secure remote access portal with SSO and MFA? WZ-IT builds sovereign remote-maintenance platforms with central identity, MFA and audit. See our remote management platforms

A remote access portal should not secure each service with its own login. It should route every access through a central identity: a Single Sign-On (SSO) via SAML 2.0 or OpenID Connect, combined with enforced Multi-Factor Authentication (MFA). That gives you exactly one place to enforce authentication, MFA, context rules and the removal of access. It eliminates password sprawl, makes every access auditable, and meets the requirements of NIS2 and IEC 62443. In practice, open-source identity providers such as Authentik or Keycloak deliver this identity layer fully self-hosted.

Table of contents


Why central identity beats per-service logins

When every HMI, server and web tool ships its own login, you end up with an uncontrollable number of accounts and passwords. Nobody reliably knows who can reach what, MFA is at best partially enabled, and when a contractor leaves, scattered accounts linger. Those forgotten logins are a classic breach vector.

A central identity reverses this. There is one authoritative identity source (the identity provider, IdP) that all services connect to. The benefits:

  • One enforcement point: password policy, MFA requirement and context rules apply centrally to all services, not reconfigured per tool.
  • Instant deprovisioning: disabling an account in the IdP ends access to every connected service at once.
  • Accountability: every login flows through the same point and lands in the audit trail (see RBAC and audit for remote access).
  • Smaller attack surface: no more local service passwords that get copied, shared or forgotten.

SSO protocols: SAML 2.0 and OIDC

SSO means a user authenticates once with the IdP, and services then trust them without asking for a password again. Two open standards define how the IdP and the service communicate:

  • SAML 2.0: an XML-based OASIS standard from 2005, widely used in traditional enterprise software. The IdP issues a signed assertion that the service (service provider) verifies.
  • OpenID Connect (OIDC): the modern identity layer on top of OAuth 2.0. OIDC uses JSON/JWT, fits web apps, APIs and mobile clients better, and is today's first choice for new integrations.

In practice it is not either-or: a capable IdP speaks both, so a legacy application can connect via SAML and a new one via OIDC, both behind the same central identity.

Identity providers: Authentik and Keycloak

The IdP is the heart of the setup. Two open-source, self-hostable options have become standard:

  • Keycloak: a mature, enterprise-grade project (CNCF/Red Hat). The current line is version 26.6 (June 2026). Keycloak supports SAML 2.0, OIDC/OAuth 2.0, WebAuthn, TOTP and step-up authentication via authentication flows.
  • Authentik: lean, modern and highly configurable through flows and policies. The current line is 2026.5 (on a three-month cycle since May 2026). Authentik supports SAML, OIDC/OAuth 2.0, a SCIM provider, WebAuthn/passkeys, TOTP and push.

Both run entirely on your own infrastructure in the EU. Control plane, keys and audit data stay in your hands instead of living with an external identity service.

MFA methods: TOTP, WebAuthn/passkeys, push

MFA adds a second factor to the password. What matters is phishing resistance: methods based on WebAuthn/FIDO2 bind the cryptographic key to the domain, so a fake login page cannot capture the factor. WebAuthn has been established since Level 2 (W3C Recommendation, April 2021); Level 3 has been at Candidate Recommendation since January 2026 (updated snapshot May 2026).

Method Factor type Phishing-resistant Practice
TOTP (authenticator app) Possession (one-time code) No Broad compatibility, a good entry point
Push approval Possession (app prompt) No Convenient, prone to MFA fatigue
WebAuthn / passkey Possession + biometric/PIN Yes Recommended, bound to the domain
Hardware security key Possession (FIDO2 token) Yes Highest assurance, for critical roles

The authoritative reference is NIST SP 800-63B-4 (final since July 2025): at assurance level AAL2 a phishing-resistant option must be offered, and AAL3 requires phishing-resistant hardware authenticators. Practical recommendation: passkeys as the default, TOTP as a fallback, and WebAuthn mandatory for privileged roles (administrators, critical machines).

Conditional access: context-based decisions

Strong authentication is the baseline, but not every access carries the same risk. With conditional access (context-based access) the IdP factors additional signals into the decision:

  • Device posture: managed device, current OS, client version.
  • Network and location: source IP, country, known site.
  • Time and risk: unusual hours, new devices, suspicious patterns.

The outcome is either direct access, a step-up authentication (an extra factor for sensitive actions) or a denial. Keycloak expresses this through ACR/LoA levels and conditional authentication flows; Authentik through policies and expression policies evaluated inside the flow. Viewing a dashboard then carries a different bar than performing a control action on a machine.

Provisioning, deprovisioning and supplier accounts

Identities have a lifecycle: create, change, revoke. Managed by hand, mistakes creep in, especially at revocation. The open standard SCIM (RFC 7643/7644) automates this: the source of truth (e.g. HR or a directory) automatically creates, updates and deactivates accounts in the IdP.

For supplier and contractor accounts, time-limiting is central. External parties get no permanent account but access with an expiry date, ideally as just-in-time access: the grant only applies to a defined maintenance window and a specific machine, then expires automatically. This avoids orphaned standing privileges, a frequent breach vector. The role and permission logic behind it is covered in RBAC and audit for remote access.

Clean deprovisioning is the biggest security win of central identity: when someone leaves, disabling the account in the IdP instantly ends access to every connected service, instead of cleaning up each tool one by one.

SSO/MFA as the identity layer for ZTNA

SSO and MFA are the "verify" component of Zero Trust Network Access (ZTNA). Zero Trust re-evaluates every request against identity, device posture and context before a connection is established. The IdP supplies the authoritative identity: only once SSO login, MFA and conditional-access conditions are satisfied does the policy broker release the individual resource, never the whole network. Without strong, central identity, any Zero Trust model stays piecemeal.

NIS2: Article 21 of the NIS2 Directive and Germany's Section 30 BSIG explicitly name multi-factor authentication and access control policies as minimum measures. Germany's NIS2 implementation law has been in force since December 2025. A central SSO that enforces MFA is the auditable way to meet this obligation for remote access. This article is general information and not legal advice.

SSO and MFA at WZ-IT

In our sovereign remote-maintenance platforms, identity is never an afterthought but the central control point. We deploy a self-hosted IdP (Authentik or Keycloak) as the authoritative identity source, connect every service via OIDC or SAML, enforce MFA with passkeys, and add conditional access for privileged operations. Supplier accounts are time-limited and provisioned and deprovisioned cleanly via SCIM. Every login lands in a tamper-evident audit trail.

We run this approach in production: at ABCO Water Systems in Australia for machine and HMI access across distributed sites, and at nextGYM in Germany for a rolled-out IoT device fleet. We are happy to handle design, build and operations end to end as part of our remote management platforms.

Building a secure remote access portal with central identity, MFA and audit? Get in touch or explore our remote management platforms.

You'd rather not run Remote Access yourself? WZ-IT handles setup, operations and maintenance – GDPR-compliant from Germany.

Frequently Asked Questions

Answers to the most important questions

SSO (Single Sign-On) means a user authenticates once with a central identity provider and then reaches every connected service without entering a password again. MFA (Multi-Factor Authentication) adds a second factor such as TOTP, a passkey or push on top of the password. SSO governs where and how often you log in; MFA governs how strong that login is. They work together: central SSO enforces MFA for all services in a single place.

The two standards are SAML 2.0 (an OASIS standard from 2005, XML-based) and OpenID Connect (OIDC, an identity layer on top of OAuth 2.0). OIDC is the modern choice and fits web apps, APIs and mobile clients; SAML is still common in enterprise software. A capable identity provider such as Keycloak or Authentik speaks both, so you can pick the right one per application behind a single identity.

Phishing-resistant methods based on WebAuthn/FIDO2 (passkeys, hardware security keys) are the most secure because the cryptographic key is bound to the domain and cannot be phished. TOTP apps and push notifications are better than a password alone but are not phishing-resistant. NIST SP 800-63B-4 (July 2025) requires that AAL2 offer a phishing-resistant option, while AAL3 mandates phishing-resistant hardware authenticators.

With conditional access the identity provider decides not only on password and MFA but also on context: device posture, network/IP, location, time of day or a risk score. The outcome can be a step-up authentication (an extra factor for sensitive actions) or a denial. Keycloak implements this via ACR/LoA levels and conditional flows; Authentik via policies and expression policies evaluated inside the flow.

External accounts get an expiry date and are deactivated automatically when a project ends, ideally combined with just-in-time access: the grant only applies to a defined maintenance window and a specific machine. SCIM automates creating and revoking accounts so no forgotten standing access remains. This prevents orphaned standing privileges that an attacker could take over.

Deprovisioning is the reliable removal of all access when an employee or contractor leaves. If it is forgotten, active accounts with remote access remain, a common breach vector. With central SSO and SCIM provisioning, disabling the account in the identity provider instantly ends access to every connected service, instead of cleaning up each service individually.

Yes. Article 21 of the NIS2 Directive and the German Section 30 BSIG explicitly list multi-factor authentication and access control policies among the minimum risk-management measures. A central SSO that enforces MFA is the practical, auditable way to meet this obligation for remote access. Germany's NIS2 implementation law has been in force since December 2025.

Let's Talk About Your Idea

Whether a specific IT challenge or just an idea - we look forward to the exchange. In a brief conversation, we'll evaluate together if and how your project fits with WZ-IT.

E-Mail
[email protected]

Leading companies trust WZ-IT

  • Rekorder
  • Keymate
  • Führerscheinmacher
  • SolidProof
  • ARGE
  • Boese VA
  • NextGym
  • Maho Management
  • Golem.de
  • Millenium
  • Paritel
  • Yonju
  • EVADXB
  • Mr. Clipart
  • Aphy
  • Negosh
  • ABCO Water Systems
Timo Wevelsiep & Robin Zins - CEOs of WZ-IT

Timo Wevelsiep & Robin Zins

Managing Directors of WZ-IT

1/3 - Topic Selection33%

What is your inquiry about?

Select one or more areas where we can support you.