curveball / a12n-server

An open source lightweight OAuth2 server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Authentication API

This package aims to provide a simple authentication system. The goal is to provide a simple authentication system for developers considering building their own.

The project implements OAuth2 standards where applicable.

a12n-server home screenshot

Requirements

  • Node.js 16.x
  • MySQL, Postgres or Sqlite

Try it out!

You can quickly get a test server up and running by running these commands:

mkdir a12n-server
cd a12n-server
npx @curveball/a12n-server

This will automatically create a configuration file and sqlite database in the current directory.

Then, just open http://localhost:8531/ to create your admin account.

Features

Documentation

Check out the Docs folder

The state of this project

If you are thinking of building a new authentication system, and decide to use this project instead, you get a lot of features for free.

The project has been used in production since 2018 and is still actively developed.

About

An open source lightweight OAuth2 server

License:Apache License 2.0


Languages

Language:TypeScript 91.3%Language:Handlebars 4.1%Language:JavaScript 2.4%Language:CSS 1.6%Language:Makefile 0.4%Language:Dockerfile 0.2%