v1.5: Privacy settings, HTML emails, improved sessions #2086
FreddyDevelop
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
This release contains new features and a handful of important bug fixes.
Privacy settings
Two new settings have been added to control whether the disclosure of information about user accounts should be accepted for the sake of usability:
showAccountExistenceHints
: When registering or trying to log in, feedback is displayed indicating whether or not an email address already exists (e.g. “The email is already taken.” or “The email address is unknown.”). When disabled, the system hides this information and behaves identically in both cases to avoid disclosing information about existing email addresses (this has previously been the default behavior).onlyShowActualLoginMethods
: Only display the authentication methods that are actually available to a user during the sign-in process (e.g. after the user enters an e-mail address as the identifier in the sign-in form, only prompt the user for a password if they actually have one). If disabled, all theoretically possible authentication options are always displayed to avoid disclosing information about existing email addresses (this has previously been the default behavior).Please note: Full protection against email enumeration attacks is only provided if both settings, “Show account existence hints” and “Hide unavailable login methods” are disabled. Please note that this may result in a poorer user experience, as users will no longer receive direct feedback if, for example, they have entered an incorrect email address, or if they are suggested the option to enter a password even though they do not have one.
HTML emails
This version adds support for HTML email rendering and delivery alongside plain text emails. The changes ensure that both plain text and HTML versions of passcode and notification emails are generated and sent, improving email formatting and readability across different clients. We will further improve the styling of the HTML emails in a future patch.
Improved session handling in Hanko Elements
jwt
field and deprecatedexpirationSeconds
.httpOnly
is set tofalse
.hanko.session.is_valid()
(now blocking, mimicsawait hanko.sessionClient.validate()
).hanko.sessionClient.validate()
instead.Updated Go version
Hanko is now using Go version 1.24. Please note this if you want to compile the Hanko backend code.
What's Changed
Full Changelog: backend/v1.4.0...backend/v1.5.0
This discussion was created from the release v1.5: Privacy settings, HTML emails, improved sessions.
Beta Was this translation helpful? Give feedback.
All reactions