RADIUS MFA
RADIUS(远程认证拨号用户服务)提供商允许 Casdoor 针对你的 RADIUS 服务器检查多因素认证 (MFA) 的第二因素。
配置提供商
-
在 Casdoor 管理控制台中,前往 Identity > Providers 并添加一个提供商。
-
将 Category 设置为
MFA,将 Type 设置为RADIUS。 -
填写以下字段:
Field Description Host IP address or host name of the RADIUS server, for example 10.10.10.10Port Port of the RADIUS server. The default is 1812Client secret Shared secret that the RADIUS server has for Casdoor Require Message-Authenticator 拒绝未携带有效 Message-Authenticator属性的 RADIUS 响应。对于新建的提供商,默认启用此选项 -
保存提供商.
Message-Authenticator
Casdoor 为其发送的每个 Access-Request 都使用 Message-Authenticator 属性进行签名(RFC 2869)。如果启用了 Require Message-Authenticator,Casdoor 还会拒绝所有没有有效 Message-Authenticator 的响应。这可以防范 Blast-RADIUS 攻击,在该攻击中,网络上的攻击者会伪造 Access-Accept 响应。
仅当旧的 RADIUS 服务器不发送该属性时,才关闭此开关。在此选项出现之前创建的提供商默认处于关闭状态:请在确认您的服务器发送该属性后再将其打开。
在应用中使用
Add the RADIUS provider to the providers of your application. 之后用户就可以选择 RADIUS 作为 MFA 方式。 During setup and sign-in, they enter their RADIUS username and password, and Casdoor forwards the check to your RADIUS server.