New
- Two new sign-in methods: magic link (one form to sign in or sign up with a link sent by email), and Discord.
- The OAuth components now expose a
deleteUserfunction, similar to other auth components. It erases the data stored in the component for a single user. This method is useful when implementing user deletion flow. - The password component can now verify "scrypt" hashes. This is helpful when migrating from systems that use scrypt, like legacy convex-auth.
- The Google profile has
hostedDomain, from thehdclaim of the ID token, so that the user callbacks can restrict sign-in to a Google Workspace domain.
Improvements
- The passkey component now tolerates a trailing slash in the
originconfiguration setting. - The
challenge.custom.startfunction of the email component now sends the email to the address as its owner verified it (the spelling stored inverifiedEmails).