Giter Club home page Giter Club logo

Comments (11)

olamide203 avatar olamide203 commented on July 29, 2024 2
  • We could have a confirm-email page which a user gets redirected to from /signup on successful signup.
  • The confirm-email page would inform the user that a mail was sent to them containing a confirmation link.
  • when the user clicks on the link, they would be redirected to the main app dashboard by supabase
  • also links to signup and signin pages could be added to the navbar on the homepage

@ykdojo I'd like to give this a try if it hasn't been assigned to anyone yet

from defaang.

Trowl3r avatar Trowl3r commented on July 29, 2024 1

I would like to take this one on aswell. Little Idea: Maybe make a section with all the current pages in the README with all their corresponding .tsx files, aslong as we don't have a navbar?

from defaang.

pushkaraj2007 avatar pushkaraj2007 commented on July 29, 2024 1

We're using Supabase right now, but that could definitely be an option maybe with NextAuth.

What would be the pros and cons of that approach?

As of I didn't worked much with supabase.

But if I talk about nodemailer, then I think it's a great library to send emails with ease.

Where you can send emails with just some lines of code like 15 - 20 and its fast as well.

The fall back is you can only authenticate the user by email. If you want to add other authentication options like google, GitHub then you have to add them by another method.

from defaang.

olamide203 avatar olamide203 commented on July 29, 2024 1

Supabase allows us to define the url a user gets redirected to on email confirmation. We can use that to redirect the user back to the part a user sees after signing in. for now it can just redirect to the lndex page which is the default

from defaang.

olamide203 avatar olamide203 commented on July 29, 2024 1

yea

from defaang.

ykdojo avatar ykdojo commented on July 29, 2024 1

FYI, for the navbar, I created this separate issue. I think I'm going to work on that one next.

from defaang.

ykdojo avatar ykdojo commented on July 29, 2024

Sounds good! Having a navbar (or any other way of navigation) might be a good solution, also.

from defaang.

pushkaraj2007 avatar pushkaraj2007 commented on July 29, 2024

I think we should use a package called 'nodemailer', for confirming the mail of users.

What do you think?

from defaang.

ykdojo avatar ykdojo commented on July 29, 2024

We're using Supabase right now, but that could definitely be an option maybe with NextAuth.

What would be the pros and cons of that approach?

from defaang.

ykdojo avatar ykdojo commented on July 29, 2024

when the user clicks on the link, they would be redirected to the main app dashboard by supabase

I'm not sure what you mean by the main app dashboard by supabase here?

from defaang.

ykdojo avatar ykdojo commented on July 29, 2024

You meant index (/), right?

from defaang.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.