deprecated
Unwarranted session removal after Management API user updates
We have deprecated the invalidation of user sessions when performing database connection user update (PATCH - /api/v2/users/{id}
) requests where:
- The
email
oremail_verified
attributes are set to an unchanged value; - The
email_verified
attribute is set to atrue
value.
These changes allow for consistent behavior between setting an email as verified through the Management API and the built-in email verification flows provided by the service. In addition, it improves the overall end-user experience by avoiding session invalidation in situations that do not require it, such as setting either the email
or email_verified
attributes to unchanged values.
The dashboard will be updated with a migration toggle to opt out of the deprecated behavior ahead of its future end-of-life; we have provided additional information and timelines for enforcing this change through a dashboard and support center notification.