csdojo-defaang / defaang

A website that will curate recently-asked interview questions from FAANG+. Currently inactive. Check out: https://github.com/ykdojo/OpenStream
MIT License
505 stars 120 forks source link

[FEATURE] Add multiple ways for authentication #85

Open AdityaPainuli opened 1 year ago

AdityaPainuli commented 1 year ago

Description

Can I start working on the authentication part of the sign-in and sign-up page and what are the platforms we will allow the user to authenticate themselves?

rohitdasu commented 1 year ago

Hi @AdityaPainuli thanks for raising this issue. We will definitely need social authentication as nowadays most users do authentication using social medias. In my opinion let's do with 'Google' and 'Github'. Would love your suggestion @ykdojo

RakeshSangem commented 1 year ago

I also believe that GitHub and Google are sufficient for authentication.

AdityaPainuli commented 1 year ago

I will start working on this feature soon.

makyfj commented 1 year ago

@AdityaPainuli are you planning to use https://next-auth.js.org/ for auth?

AdityaPainuli commented 1 year ago

No, I am using supebase authentication I think it will be good to use only the stack or packages which are really needed.

nateemerson commented 1 year ago

Next Auth could be helpful for integrating some of the auth flows w/ Next Middleware..but I'm not very familiar w/ Supabase auth. I'd be curious how the two connect / work together...I'm assuming there's still a way to leverage Supabase auth from Next middleware so probably not a dealbreaker one way or the other.

ykdojo commented 1 year ago

This one looks interesting, just came across it: https://themodern.dev/courses/build-a-fullstack-app-with-nextjs-supabase-and-prisma-322389284337222224

ykdojo commented 1 year ago

And this: https://twitter.com/supabase/status/1573100354174332928?s=46&t=ydHdma5FnBvGoSlDUOYE1g

AdityaPainuli commented 1 year ago

This one looks interesting, just came across it: https://themodern.dev/courses/build-a-fullstack-app-with-nextjs-supabase-and-prisma-322389284337222224

Yes , I also come across that and currently I am learning how to make it work for one of my project