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

Keycloak 24.* introduced breaking changes for email-verification-by-code form #19

Closed
danieliu456 opened this issue Apr 3, 2024 · 2 comments

Comments

@danieliu456
Copy link

After upgrading to keycloak 24.0.0 verify-email-by-code screen doesn't work.

<time> ERROR [org.keycloak.services.error.KeycloakErrorHandler] (executor-thread-31) Uncaught server error: java.lang.NoSuchMethodError: 'void org.keycloak.email.freemarker.beans.ProfileBean.<init>(org.keycloak.models.UserModel)'
at fr.redfroggy.keycloak.requiredactions.VerifyEmailByCode.createFormChallenge(VerifyEmailByCode.java:74)
	at fr.redfroggy.keycloak.requiredactions.VerifyEmailByCode.sendVerifyEmailAndCreateForm(VerifyEmailByCode.java:180)

according to docs constructor definition has changed

23.*
https://www.keycloak.org/docs-api/23.0.5/javadocs/org/keycloak/email/freemarker/beans/ProfileBean.html
image

24.*
https://www.keycloak.org/docs-api/24.0.2/javadocs/org/keycloak/email/freemarker/beans/ProfileBean.html

image

Email sending works fine, but createFormChallenge fails to display form for email verification

@danieliu456
Copy link
Author

Added fix: #20

@dajay
Copy link
Contributor

dajay commented Apr 10, 2024

Hello,
New release is available 24.0.0.
Thanks

@dajay dajay closed this as completed Apr 10, 2024
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