What is Keycloak RADIUS?
Keycloak is an open-source identity and access management server. By default, it handles browser-based logins, APIs, and modern protocols like OpenID Connect and SAML. RADIUS is a protocol built for network authentication — VPNs, Wi-Fi, and remote access gateways use it to verify credentials. Keycloak RADIUS is the bridge that allows Keycloak to act as the identity provider for any RADIUS client.
Why You Need It
Integrating Keycloak with RADIUS enables central control of credentials for both web and network resources. Instead of maintaining separate user stores, you define policies once in Keycloak and apply them everywhere. This reduces administrative overhead, cuts repetitive work, and strengthens security through unified enforcement of MFA, password rules, and role-based access.
How It Works
The most direct approach uses a Keycloak RADIUS plugin or gateway. These components translate incoming RADIUS authentication requests into Keycloak login calls. The flow looks like this:
- A RADIUS-enabled device — an access point, VPN, or switch — sends an Access-Request containing username and password.
- The gateway converts this request into a format Keycloak understands.
- Keycloak checks the credentials against its user store and policies.
- An Access-Accept or Access-Reject is sent back to the RADIUS client.
This allows smooth MFA prompts, LDAP federation, or custom authentication flows inside Keycloak while maintaining network compatibility with RADIUS clients.