Skip to content

Windows MFA: ADFS, RDS, NPS & VPN Setup Guide

Windows integrations use either a native Mideye ADFS module or RADIUS (via NPS) to add multi-factor authentication to Microsoft infrastructure components.

Mideye supports two approaches for Windows MFA, depending on the component:

UserMicrosoft ADFSNPS / RRASMideye Server 1a. Username + password (ADFS flow)2a. RADIUS Access-Request (UDP 1812)3a. Access-Accept + MFA prompt4a. OTP / Push / Token challenge1b. Username + password (RADIUS flow)2b. RADIUS Access-Request (UDP 1812)3b. Access-Accept ✓4b. Connection granted
  • ADFS Module flow (left): A .NET module installed on the ADFS server calls Mideye Server during the ADFS login flow. Supports push, SMS OTP, offline challenge, tokens, and YubiKey.
  • RADIUS/NPS flow (right): NPS or RRAS sends a RADIUS request to Mideye Server, which validates credentials and adds MFA. Same protocol as VPN/firewall integrations.
ScenarioRecommended approachGuide
ADFS portal login with MFAMideye ADFS ModuleADFS Module
ADFS passwordless authenticationMideye ADFS Module (Windows Server 2019+)ADFS Module, Passwordless
Remote Desktop Services (RDS/RDG) via ADFS + WAPADFS Module + WAP publishRDS with ADFS + WAP
Remote Desktop Services (RDS/RDG) via NPSRADIUS via NPSRDS with Touch
Per-server RDP and console MFANative credential provider DLLCredential Provider
Windows VPN (RRAS)RADIUS via NPSWindows VPN
Windows Hello for BusinessADFS Module (hybrid)Windows Hello
B2B federation with assisted loginADFS Module + MSASFederated Trust
AWS Cognito via ADFS SAMLADFS SAML federationADFS + AWS Cognito
Windows Server versionADFS ModuleRADIUS / NPSRDS + WAPWindows Hello
Windows Server 2022
Windows Server 2019
Windows Server 2016
Windows Server 2012 R2End of support, not recommended
GuideDescription
ADFS Mideye ModuleInstall and configure the native Mideye MFA module for ADFS
ADFS Access Control PoliciesAdvanced PowerShell-based access control policy configuration
ADFS Federated TrustCross-forest B2B federation with assisted login
ADFS + AWS CognitoFederate ADFS with AWS Cognito for CloudFront protection
ADFS + RDS/WAPRemote Desktop Services with Web Application Proxy
GuideDescription
Windows VPN (RRAS)Built-in Windows VPN using RRAS and NPS
RDS with TouchRemote Desktop Gateway with Mideye Touch via NPS
GuideDescription
Credential ProviderPer-server Windows credential provider DLL for RDP + console MFA (Touch push, hardware token, assisted login)
GuideDescription
Windows Hello for BusinessWHFB with Mideye MFA on ADFS (overview)