Welcome to the Kinde community.

A
A
A
M
T

Triggering email with verification code when switching accounts

How to trigger an email with the verification code?
In our system, when user logged in as user1@gmail.com, they also have a record of other accounts they usually login to, e.g. user2@gmail.com and user3@gmail.com.
When the user clicks on user2@gmail.com, showing the intent of switching to that account, I’d like to trigger a verification code email to user2@gmail.com.
Is this possible?
I’m using Next.js App Router.

A
M
6 comments

Interesting use case when they change email addresses will they be taken to different accounts?

yes, think of it like a shortcut to logout + login

Let me check with our NextJS expert, as a user can certainly switch between organisations but that normal happens with the same email address

Sorry for the delay I have nudged the team

Any update on this one? This is an existing functionality that we’d like to keep when migrating to Kinde.

Add a reply
Sign up and join the conversation on Slack
Join