Skip to content

a12n-server 0.29.0

Install from the command line:
Learn more about npm packages
$ npm install @curveball/a12n-server@0.29.0
Install via package.json:
"@curveball/a12n-server": "0.29.0"

About this version

@curveball/a12n-server: A simple authentication server

a12n is short for "authentication".

a12n-server is a simple authentication server that implements the OAuth2 and OpenID Connect standards. It's goals is to create a fast, lightweight server that can be quickly deployed on both dev machines and in production.

a12n-server home screenshot

Requirements

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

Try it out!

Get a test server by running:

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. See the Getting Started guide for other ways to run the server.

🍭 Features

This project has been used in production since 2018 and actively maintained.

Instead of rolling your own authentication system, you get A LOT of features for free πŸͺ„:

The server supports core features such as:

  • A User API that can be used to create, update, delete and list users.
  • User registration, login, lost password.
  • Multi-factor auth including
    • TOTP (Google Authenticator)
    • Email one-time passcodes.
    • Hardware keys support (WebauthN)
  • Groups (roles) and permissions that can be assigned to users or groups.
  • A browser-based admin interface.
  • A REST API that can be traversed using a standard browser, as it spits out both JSON and HTML.

The server supports OAuth2 and OpenID Connect, with support for the following features and standards:

πŸ“‚ Documentation

Details


Assets

  • a12n-server-0.29.0.tgz

Download activity

  • Total downloads 0
  • Last 30 days 0
  • Last week 0
  • Today 0