AkshitLakhera / PenCraft-Full-Stack-Blogging-Application

PenCraft: React frontend, Cloudflare Workers backend. Features Prisma for DB, JWT for auth, and Tailwind CSS with Aceternity UI components for styling. Simplifying blogging with efficiency.
https://pen-craft.vercel.app
MIT License
26 stars 52 forks source link

[Security] Using only reputed mail services for signup's. #125

Open smog-root opened 1 month ago

smog-root commented 1 month ago

Update the existing signup flow to validate email domains. Restrict signups to users with email addresses from trusted providers (e.g., Gmail, Outlook). etc.

Extract the domain from the user's email during signup. Compare it against a predefined list of trusted providers. If the domain matches, proceed with the signup; otherwise, return an error.

i'm expecting a gssoc-ext with level3 and a hacktoberfest-accepted label!

@AkshitLakhera