Unable to send email verification when using Admin plugin createUser
As in the title, when using the admin plugin's
authClient.admin.createUser method, the user is created with an emailVerified value of false. On face value this sounds fine but then when subsequently trying to send verificationEmail using authClient.sendVerificationEmail I get a 400 Bad Request error with the code "YOU_CAN_ONLY_SEND_A_VERIFICATION_EMAIL_TO_AN_UNVERIFIED_EMAIL"
What is the correct method of adding users via admin functionality?1 Reply
hi @Wandie , Were you able to find a fix for this?