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

Design email verification and password reset emails #32

Closed
john-gom opened this issue Jun 28, 2024 · 5 comments
Closed

Design email verification and password reset emails #32

john-gom opened this issue Jun 28, 2024 · 5 comments
Assignees
Labels
✨ enhancement New feature or request

Comments

@john-gom
Copy link
Collaborator

john-gom commented Jun 28, 2024

Add modified HTML templates from https://github.com/openfoodfacts/openfoodfacts-auth/tree/c833f3d370ca528069c7d4d335ea92d0698602d9/theme/base/email to https://github.com/openfoodfacts/openfoodfacts-auth/tree/c833f3d370ca528069c7d4d335ea92d0698602d9/theme/off and modify messages to match OFF wording.

Note: Keycloak doesn't provide a "sign-up" message per-se, but we want to use mail verification for new accounts, which could be used as a surrogate "welcome" mail

@john-gom
Copy link
Collaborator Author

I've noticed that the email is always in English and does not reflect my user's preferred language. @hangy is that the same for you?

@hangy
Copy link
Member

hangy commented Aug 30, 2024

Just tested on https://world.off.hangy.de/ and the German locale I selected for my account seems to work:

image

@john-gom
Copy link
Collaborator Author

Ok. I wonder if the message strings are coming from a different place than for the themes. I was using a dummy language XX that isn't in the standard keycloak list of locales

@hangy
Copy link
Member

hangy commented Sep 23, 2024

Update after today's discussion: The welcome mail could be sent by ProductOpener using the existing mechanism. To do that, Keycloak should publish a new "user created" event as soon as the user account is usable (ie. email should likely be validated, if mail validation is enabled)

@john-gom john-gom changed the title Design sign-up email Design email verification and password reset emails Sep 25, 2024
@john-gom
Copy link
Collaborator Author

Renamed issue to just cover the email verification and password reset emails

@john-gom john-gom self-assigned this Oct 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ enhancement New feature or request
Projects
Development

No branches or pull requests

3 participants