This code extends Keycloak for the provisioning of 2 Factor Authentication (2FA) through non-interactve API methods ✨ Project extends Keycloak with a custom RealmResourceProvider. This allows for 2FA via REST calls. Used in DO119 to secure $PRGC token transactions.
16
stars
12
forks
source link
java.lang.NoClassDefFoundError: javax/ws/rs/NotAuthorizedException on Keycloak 23.0.5 #3
then I got this error:
keycloak_1 | 2024-01-31 07:33:35,074 ERROR [org.keycloak.services.error.KeycloakErrorHandler] (executor-thread-32) Uncaught server error: java.lang.NoClassDefFoundError: javax/ws/rs/NotAuthorizedException
Sorry but i met this problem when I try to generate a new 2fa creds.
I sent GET request with this URL by Postman: https://localhost:8443/realms/TOTP/two_factor_auth/manage-2fa/504b2f0a-b707-450a-be80-51e591c7ecb5/generate-2fa
I use basic auth, with my user account/pwd.
then I got this error: keycloak_1 | 2024-01-31 07:33:35,074 ERROR [org.keycloak.services.error.KeycloakErrorHandler] (executor-thread-32) Uncaught server error: java.lang.NoClassDefFoundError: javax/ws/rs/NotAuthorizedException