keycloak-radius-plugin
keycloak-radius-plugin copied to clipboard
RADIUS OTP disabling / missing admin theme
Describe the bug
I recently set up a Keycloak server from the latest release (v1.4.11-21.0.0
), and experience some issues. I saw in #436 that I'm supposed to be able to switch theme to disable OTP part of RADIUS password for authentication, but it looks like the theme is not present. There is no theme file in the providers/
directory neither.
Anyway, I tried to create a radius client, export it and set attributes.radius.OTP
to false
manually and then re-import it, but it looks like the parameter is ignored as I still need to append the OTP code of the user when testing connection using radtest
.
To Reproduce
- Install Keycloak-radius-plugin from latest release
- Create a new realm, and enforce OTP
- Create a new user and set its credentials / TOTP / radius credentials
- Create a radius client
- Try to change theme and see that theme
radius
is not present - Try to import a client with
attributes.radius.OTP
set tofalse
, test connection usingradtest
and see that you still need to append OTP
The command I use to test connection is radtest <username> <password> <server_fqdn> <port> <shared_secret>
Expected behavior
- Have ability to switch admin theme to
radius
- Have ability to disable appending of OTP part of password when authenticating using RADIUS
Screenshots
Server:
- OS: Ubuntu 22.04
- Version: latest
- DB: Postgres
- Startup command:
build --features=preview
thenstart --optimized
Desktop:
- OS: Fedora
- Browser: Chrome
- Version: latest
下载的21.0.0 release压缩包里没有主题信息,我手动放到provider目录下但是不生效