cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to Verify an email via code for Non logged in Users

AninditaPaul
Explorer
0 Likes
863

Hi All,

Is there any way to verify an email via code for a User without any active Login Session?

I want to check if there is any way to send an Email verification code which will verify the email from "Verify Email" screenset for Non Logged in users or

When a user clicks on reset password link it will send an email with default password which can be used to login.

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member629536
Participant
0 Likes

Hi Anindita,

In the email code verification flow, the user doesn't have a session when they are required to verify the code sent to their inbox.

Sending a default password is not possible when sending the reset password link from CDC.

regards

Ibrahim

AninditaPaul
Explorer
0 Likes

Hi Ibrahim,

Thanks for the reply,

Actually, as per the document, the Email Code Verification for Registration required two api calls

1. accounts.otp.sendCode

2. accounts.otp.update

The accounts.otp.update needs active user session along with the vToken.

I want to validate an email for non-logged in registered user