New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@curveball/a12n-server

Package Overview
Dependencies
Maintainers
0
Versions
62
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@curveball/a12n-server

A ready-to-launch User and Authentication system for those that don't want to build it

0.29.0
latest
Source
npm
Version published
Maintainers
0
Created
Source

@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

FAQs

Package last updated on 07 Feb 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts