Home - RelatedTitle/user-account-system GitHub Wiki

Welcome to the User Account System wiki!

This project was created mainly just for fun and for personal use.

The purpose of this project is to make implementing auth in my future projects easier. Please note that this is my first user auth project, so there may be some security vulnerabilities. Passwords are hashed with bcrypt and JWTs are used as session tokens. I wouldn't recommend using this in any production environment without auditing it first.

Setup

API Docs

Config


Stack:

  • NodeJS
  • PostgreSQL
  • Express
  • Passport

Features:

  • Full user registration and login.
  • Uses CAPTCHA to secure endpoints. Currently supports:
  • Trustscore system for verifying that accounts aren't bots/malicious.
  • OAuth support for the following providers:
    • Discord
    • Facebook
    • GitHub
    • Google
    • Possibly more in the future.
  • JWT for auth.
  • Full password reset & email verification functionality.
  • Ability for users to change their email and password.
  • Adding new authenticated routes is easy.
  • 2FA Support