-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Description
Is this related to a new or existing framework?
Vue
Is this related to a new or existing API?
Authentication
Is this related to another service?
No response
Describe the feature you'd like to request
Currently, when using Email OTP authentication, users must:
- Enter their email and request a code
- Receive an email with a code
- Return to the same browser session
- Enter the code manually
This creates a problem when users want to complete the authentication by clicking a link in their email, as the authentication state is lost when opening the link in a new tab or after closing the browser.
We would like to be able to send verification emails with clickable links in addition to a code. For example:
Click here to sign in: https://app.example.com/auth/verify?token=12345678
Or you can fill in the code 12345678
This would allow users to complete the authentication by simply clicking the link in their email, regardless of which device they're using or whether they've closed their browser.
Note: For the SignUp, it's actually possible to continue email verification process in the different browser.
Describe the solution you'd like
Similar to confirmSignUp
, where you can specify username
and code
, it would be great if you can specify username
instead of relying on a browser state to make confirmSignIn
work.
Describe alternatives you've considered
No other ideas currently
Additional context
No response
Is this something that you'd be interested in working on?
- 👋 I may be able to implement this feature request
-
⚠️ This feature might incur a breaking change