Coding-Coach / Coding-Coach/find-a-mentor-api

Add email verification validation

Open
#233 0 comments 0 reactions 0 assignees View on GitHub
Auth help wanted
Dominant language
TypeScript
Stars
36
Forks
33
PR merge metrics
No merged PRs in 30d

Description

Currently we don't check whether the email / account is verified so we treat unverified like they verified.
We should check that and make the whole flow works

- Users shouldn't be able to access authenticated features and methods until they verified. Every blocked api should respond with status 403 or 405 (we should decide)
- Users should be able to request to resend a verification email.

Resources
- https://developer.mozilla.org/en-US/docs/Web/HTTP/Status#client_error_responses
- https://auth0.com/docs/users/verify-emails

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.