Friday, April 19

Author: rdegges

Web Tricks

Build and Understand a Simple Node.js Website with User Authentication

Building websites with user authentication and management (login, registration, password reset, etc.), can be a huge pain. As a developer there are a million little things you need to worry about: Storing the users in your database Making sure you have the right user attributes defined Forcing users to be logged in to view a page Building registration and login forms Creating password reset workflows that email users a link Verifying new users when they sign up via email Etc… The list goes on and on. Today I'm not only going to show you how to quickly build a Node.js website that supports all those things above, I'm going to teach you exactly what's going on behind the scenes so you fully understand how web authentication works. If you've ever been curious about how web authentication and ...
Web Tricks

Add Authentication to Any Web Page in 10 Minutes

This content is sponsored via Syndicate Ads Adding authentication to web pages can be pretty annoying. While I'd like to say that over the course of my programming tenure I've learned to easily add authentication to any app I create, my attempts tend to devolve into me bickering with myself endlessly over a User schema and the most efficient way to share my user data between components. One of the greatest things that's happened in recent years, however, is the proliferation of identity and user management API services like Okta, which handle many of the typical authentication woes for you, including: User registration User login Multi-factor authentication Authorization (groups, permissions, etc.) Social login Okta essentially handles all the bullshit you typically need to build when you ...