8
12 Comments

What is the easiest, fastest way to make a login/registration page?

Most websites are a mess when it comes to user auth-- I can't tell you how many products I've refused to sign up for because registering was so arduous. Are there any libraries/services that make it really easy to onboard users?

Building it out yourself runs serious security risks. I've looked at Auth0 and Okta, and they have great documentation, but they aren't the absolute simplest for users---they also redirect users to a different domain and are geared towards companies with enterprise users.

Currently building in React but could easily switch functionalities around to different frameworks

posted to Icon for group Developers
Developers
on January 9, 2020
  1. 3

    I've started to use AWS Amplify for auth (and my entire backend) in my more recent projects and it has been amazing. https://aws-amplify.github.io

    1. 2

      This also is what I use in my projects, you have 50k registered users for free on AWS Cognito

  2. 2

    I’m a big fan of Firebase auth. You may like my product https://divjoy.com which allows you to export all the code needed for a React + Firebase auth flow, including all the UI components (signin, signup, forgotpass, changepass). You can have everything up and running in under 10 minutes.

  3. 1

    Look at firebase auth, by far the best I've used.

    There are a number of libraries that either hook in with react, vue or vanillajs etc.

    1. 1

      I find myself going back to Firebase for all my projects. Very easy to implement with most major front end frameworks. Offers anonymous, social and email logins.

  4. 1

    How would you define easy? Do you want to build your own backend for storing passwords or other credentials? If not, the easiest and standard-compliant is something OpenID Connect based solution, which is exactly what Auth0, Okta, and many others provide. Using their widget, for example, you can get a decent user experience as well. If you want to build the backend part, you can start with some boilerplate base in whatever programming language you prefer.

    1. 1

      I suppose what I mean is that it shouldn't take more than a couple of seconds to onboard a user, and I shouldn't have to be bothered with managing account credentials.

      This would mean on the user's end:

      • User doesn't have to worry about managing obnoxious passwords ("Your password must have at least x special characters, y uppercase, z numbers, etc.)
      • User can auth with google/twitter
      • User doesn't have to fill out tons of personal info to get started
      • User doesn't have to enter and verify passwords just to sign up

      And, for the time being, this would mean on my end:

      • I don't have to hash/salt/store user login info on my own
      • I don't have to build a 2FA system
      • I can implement the whole thing in a few hours or a day

      Take github's signup for example-- all you need to sign up is a username, an email, and a password... That's it. All of the upgraded security happens when the user wants it to happen.

      I'm not sure whether that means just relying on Auth0/Okta, or creating a custom interface and let AWS Cognito handle everything.

      1. 1

        If you want to offload user login data and effectively, user data in general, you would have to use something like Auth0/Okta, because you're leveraging their services to handle your user data.

        Auth0 is also super easy to set up, and their documentation is really informative.

      2. 1

        You can do this and many more with current cloud authentication providers (auth0, firebase auth, Cognito, Okta, etc.). The patterns you see in some places which complicate the signup process more is usually a consequence of operation, legal, and business requirements, not the authentication technology itself.

        1. 1

          Great, thanks! It sounds like all of these services do mostly the same thing, so I guess it's just a "pick one and go with it" sort of decision to make

  5. 0

    Have you been thinking about using Auth0?

    It's free, easy and fast to implement. You can also use SSO. It's cool 👌

  6. 2

    This comment was deleted 8 months ago.

  7. 3

    This comment was deleted 3 years ago.

Trending on Indie Hackers
Your SaaS Isn’t Failing — Your Copy Is. User Avatar 61 comments Build AI Agents & SaaS Apps Visually : Powered by Simplita ai User Avatar 24 comments The Future of Automation: Why Agents + Frontend Matter More Than Workflow Automation User Avatar 21 comments No Install, No Cost, Just Code User Avatar 20 comments AI Turned My $0 Idea into $10K/Month in 45 Days – No Code, Just This One Trick User Avatar 14 comments 15 Years of Designmodo User Avatar 13 comments