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

Email Verification #40

Open
libkush opened this issue Jan 5, 2025 · 0 comments
Open

Email Verification #40

libkush opened this issue Jan 5, 2025 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@libkush
Copy link
Collaborator

libkush commented Jan 5, 2025

  1. Every registration creates a user whose email is not verified by default.
  2. After registration, create a signed JWT with exp set to 5 minutes. Send a link https://<api-url>/verify/{jwt} via an SMTP service where jwt is the one just created.
  3. Listen for GET requests at endpoint /verify/{jwt}, set verified = true for the userId encoded in the JWT once the JWT is verified.
@libkush libkush added the enhancement New feature or request label Jan 5, 2025
@libkush libkush self-assigned this Jan 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant