Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(Delayed) email verification link #1063

Open
FlxMgdnz opened this issue Oct 5, 2023 · 1 comment
Open

(Delayed) email verification link #1063

FlxMgdnz opened this issue Oct 5, 2023 · 1 comment
Labels
enhancement New feature or request go Pull requests that update Go code

Comments

@FlxMgdnz
Copy link
Member

FlxMgdnz commented Oct 5, 2023

Email verification is currently implemented via email passcodes that will be sent on account creation if email verification is enabled per config. Entering the passcode is required to proceed with account creation, so all email addresses will be verified in this setup.

If email verification is disabled per config, a passcode is not required and won't be sent. In this case, Hanko sets the email as verified on the first successful passcode login (which may never happen, e.g. if the user creates a passkey and always uses it).

For the latter scenario, as well as for admin-initiated actions such as creating a new user or adding an email address to an existing user, it would be beneficial to have a second type of email verification that works with a verification link and thus does not require the user to enter a passcode.

This new verification email could either be user-initiated (e.g. user clicks a "verify my email address" link somewhere) or admin-initiated (e.g. admin adds a new email address to an existing user and requests email verification).

@FlxMgdnz FlxMgdnz added enhancement New feature or request go Pull requests that update Go code labels Oct 5, 2023
@ankushbhardwaj408
Copy link

Hi @FlxMgdnz i am new to open source, eager to contribute. Seeking guidance to start my journey. Any help appreciated. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request go Pull requests that update Go code
Projects
Status: 🆕 New
Development

No branches or pull requests

2 participants