Can't run npx create-keycloak-email-directory for keycloak version 16.1.1 - [object Object] instead of required action name on email
See original GitHub issueHello,
First of all, thanks for your work, it really helped me to quickly and easily customize the login page 😃
To give some context: I needed to slightly change the theme of the login and email Keycloak pages for my app, so I forked the demo app and followed the documentation’s instruction. I adapted the css and now the pages looks exactly as I wanted, the problem is not there.
The keycloak I’m using is in 16.1.1 version.
When I try to run npx create-keycloak-email-directory
for this keycloak version, I get the following error:
The error is happening for every version between 15.0.1 and 16.1.1 included.
I tried to delete the node_modules folder and do yarn install
again, but it doesn’t change anything.
I’m using yarn v 1.22.19.
I also tried to upgrade the Keycloakify version in the package.json to its latest release (5.7.0) but nothing changed.
If I run the command for an higher Keycloak version (between 17 and latest) or for Keycloak v 11.0.3, I don’t have the error and the folder is created but there is a problem in the email template, it is written [object Object] instead of the required action name. (cf screenshot, here with a “verify_email”, but it does the same for all other required actions).
This part is the real issue.
Maybe the arguments changed between version ? I couldn’t find the information over the net nor a way to fix that. If I remove the theme from the admin console, the text is the good one, it only happens when I apply the custom theme.
Do you think that the “[object Object] error” really come from a wrong Keycloak version chosen when running npx create-keycloak-email-directory
or from something else ? Did anyone already encounter/solve this issue ?
I hope this is not too confuse, I can give you more details if needed, Thank you for your time and your help,
Ps: Sorry for the long title, I didn’t manage to make one better than that to resume the issue.
Issue Analytics
- State:
- Created a year ago
- Comments:6
Ok, no problem, I’m opening a new issue with all needed informations 😃
Oh 😦
Yes please open an other issue.
What is it exactly?
I tried to find this but I didn’t:
The mail as you see it in your inbox? A webpage that you see when you click on a link in the email?
Try giving me as much info so i can reproduce, thx