ComputerSocietyVITC / ComputerSocietyVITC/Lemons

Email Verification

Open
#40 1 comment 0 reactions 1 assignee Claimed by @libkush View on GitHub
enhancement
Dominant language
TypeScript
Stars
3
Forks
7
PR merge metrics
No merged PRs in 30d

Description

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:///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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.