Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RADIUS OTP disabling / missing admin theme #812

Open
kema-dev opened this issue Jun 22, 2023 · 1 comment
Open

RADIUS OTP disabling / missing admin theme #812

kema-dev opened this issue Jun 22, 2023 · 1 comment

Comments

@kema-dev
Copy link

kema-dev commented Jun 22, 2023

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

  1. Install Keycloak-radius-plugin from latest release
  2. Create a new realm, and enforce OTP
  3. Create a new user and set its credentials / TOTP / radius credentials
  4. Create a radius client
  5. Try to change theme and see that theme radius is not present
  6. Try to import a client with attributes.radius.OTP set to false, test connection using radtest 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

  1. Have ability to switch admin theme to radius
  2. Have ability to disable appending of OTP part of password when authenticating using RADIUS

Screenshots

image

Server:

  • OS: Ubuntu 22.04
  • Version: latest
  • DB: Postgres
  • Startup command: build --features=preview then start --optimized

Desktop:

  • OS: Fedora
  • Browser: Chrome
  • Version: latest
@gitzhoujw
Copy link

下载的21.0.0 release压缩包里没有主题信息,我手动放到provider目录下但是不生效

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants