Closed pliao28 closed 1 year ago
* Rename `createEmailVerificationChallenge` to `sendVerificationEmail` and remove the `verificationUrl` argument and have it return a `User` * Rename `completeEmailVerification` to `verifyEmail` and make sure it accepts the `magicAuthChallengeId` and `code` arguments
`/users/verify_email` is becoming `users/:id/verify_email_code` and will not longer consume a `magic_auth_challenge_id` The function is now named `verify_email_code` instead of `verify_email`
Description
Rename createEmailVerificationChallenge to sendVerificationEmail and remove the verificationUrl argument and have it return a User
Rename completeEmailVerification to verifyEmail and make sure it accepts the magicAuthChallengeId and code arguments
Documentation
Does this require changes to the WorkOS Docs? E.g. the API Reference or code snippets need updates.
*Fixes USRLD-933
If yes, link a related docs PR and add a docs maintainer as a reviewer. Their approval is required.