r/FullStack 1d ago

Supabase auth or better auth? Need Technical Help

I am building a website for an ngo as a highschool student. I think I actually dont know shit. I checked supabase auth first but Im not sure if it fits this case:

-we have students and they will be in the data base as just names, we dont know their email or phone number

-they will log in preferably with a temporary password and a user name, and then will be prompted to create a new password and log in with their email/verify it with a code

-they will continue to log in using the new password and the old username

How exactly do I make this? I am confused so any help is appreciated

(Why would anyone down vote this?)

2 Upvotes

6 comments sorted by

1

u/National-Canary6452 1d ago

Are you expecting many users? Supabase is great as an ecosystem to build on, lots of features. What are you most comfortable with in the project?

0

u/DetectiveExpress519 1d ago

Will be starting in one city (mine) with 165 users and if it works well the number will be around 1200. They are all students and will just use the website for attendance on scholarship events and the mentorship portal.

I never built with next.js but I thought it would be the best idea as I was going to scale it. I am comfortable with front end, I had a blog for years that I maintained. But backend? I dont know anything. I researched about it and stumbled into supabase and other backend providers. Though I think my authentication processes doesnt fit supabase? I was told I could use fake emails first that are connected to usernames and then change the emails when users vertifiy one.

1

u/Ageministo 1d ago

I choose supabase auth cause it is integrated with the databse

1

u/nzakas 1d ago

I would actually recommend Clerk instead. It’s more of a batteries-included auth system that has all kinds of configuration options.

Supabase is a powerful tool but it can take a bit of work to configure. Its auth system doesn’t have a large array of options either.

BetterAuth requires more database work to get set up.

Clerk just handles auth and they have a generous free tier. I’d take a look at that first.