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

[Feature Request] The email sign in support verification code. #68

Open
3 tasks done
ahaapple opened this issue Oct 22, 2024 · 8 comments
Open
3 tasks done

[Feature Request] The email sign in support verification code. #68

ahaapple opened this issue Oct 22, 2024 · 8 comments
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers hacktoberfest hacktoberfest-accepted help wanted Extra attention is needed

Comments

@ahaapple
Copy link
Contributor

Is there an existing issue for this?

  • I have searched the existing issues

Feature Description

Currently, the way to log in via email is to send a magic link, which is not very user-friendly. So we hope to support the way to also send verification codes via email.

We can allow users to click on the link, or we can ask them to enter a verification code (when on different devices)

The verification code can be generated based on the token, 6 digits

The related code is here:
frontend/lib/auth/auth-sind-request.ts

Use Case

Make user email verification more friendly.

Benefits

No response

Add Screenshots

No response

Priority

Medium

Record

  • I have read the Contributing Guidelines
  • I have starred the repository
@ahaapple ahaapple added enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed labels Oct 22, 2024
Copy link
Contributor

Thank you for creating this issue! 🎉 We'll look into it as soon as possible. In the meantime, please make sure to provide all the necessary details and context. If you have any questions or additional information, feel free to add them here. Your contributions are highly appreciated! 😊

You can also check our CONTRIBUTING.md for guidelines on contributing to this project.

@Che140401
Copy link

Hi @ahaapple,

I have 2 years of experience as a web developer, and I would love to work on implementing the email verification code feature. Additionally, I can focus on making the verification process more user-friendly. Could you please assign this issue to me?

Thanks!

@ahaapple
Copy link
Contributor Author

@Che140401 Assigned, Thank you!

@rohitmore07
Copy link

Hey @ahaapple I am very keen to work on this issue. I would be really happy if you could assign this issue to me.

@ahaapple ahaapple assigned rohitmore07 and unassigned Che140401 Dec 2, 2024
@ahaapple
Copy link
Contributor Author

ahaapple commented Dec 2, 2024

@rohitmore07 Assigned,thank you

@rohitmore07
Copy link

@ahaapple Got it! To clarify, I need to add a new login page with :

An email login section supporting both magic links and verification codes.
A "Sign in with Google" button below the email login form.

Please confirm if this is correct, and I'll proceed.

@ahaapple
Copy link
Contributor Author

ahaapple commented Dec 4, 2024

Yes. we could let the user input verification codes with https://ui.shadcn.com/docs/components/input-otp.

@rohitmore07
Copy link

Okay

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers hacktoberfest hacktoberfest-accepted help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants