workos / workos-dotnet

Official .NET SDK for interacting with the WorkOS API
MIT License
11 stars 8 forks source link

Email Verification Updates #148

Closed pliao28 closed 1 year ago

pliao28 commented 1 year ago

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

[ ] Yes

If yes, link a related docs PR and add a docs maintainer as a reviewer. Their approval is required.

linear[bot] commented 1 year ago
USRLD-920 Email verification fix

* 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

linear[bot] commented 1 year ago
USRLD-933 Verify Email path/body change

`/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`