0.31.3 • Published 5 months ago

@curveball/a12n-server v0.31.3

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

@curveball/a12n-server: A simple authentication server

Tests Docker build NPM build

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 Getting started for more ways to run the server.

Contributing or just curious about the code?

Run from source or run the codebase with Docker

šŸ­ Features

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

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

Supported FeaturesDetails
User Management• Create, update, delete and list users with our User API• Password reset/recovery flow
Authentication Methods• Username/password login• Multi-factor authentication (MFA): • TOTP (Time-based One-Time Passcodes with Google Authenticator)• Email one-time codes• WebAuthN hardware keys
Authorization• Role-based access control (RBAC)• Groups and permissions management• Fine-grained access policies
OAuth2 Support• Multiple grant types (Authorization code, client credentials, etc)• Token introspection and revocation• PKCE for enhanced security• JWT access tokens (RFC 9068)
OpenID Connect• Standard OIDC configuration endpoints• Discovery document• JSON Web Key Sets (JWKS)• Multiple response types
Developer Experience• Browser-based admin UI• Browsable REST API with HTML and JSON responses • Signup and login views included

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

šŸ“‚ Documentation

0.30.1

7 months ago

0.30.0

8 months ago

0.29.0

9 months ago

0.27.2

11 months ago

0.27.1

11 months ago

0.27.0

11 months ago

0.27.6

11 months ago

0.27.5

11 months ago

0.27.4

11 months ago

0.27.3

11 months ago

0.31.3

5 months ago

0.31.2

5 months ago

0.31.1

5 months ago

0.31.0

6 months ago

0.28.1

10 months ago

0.28.0

10 months ago

0.28.5

9 months ago

0.26.7

12 months ago

0.28.4

9 months ago

0.26.6

12 months ago

0.28.3

9 months ago

0.28.2

10 months ago

0.26.3

1 year ago

0.26.5

12 months ago

0.26.4

1 year ago

0.26.2

1 year ago

0.26.1

1 year ago

0.26.0

1 year ago

0.25.4

2 years ago

0.25.1

2 years ago

0.24.0-alpha.0

2 years ago

0.24.0-alpha.1

2 years ago

0.25.0

2 years ago

0.24.0

2 years ago

0.23.1

3 years ago

0.23.0

3 years ago

0.22.0

3 years ago

0.21.0

3 years ago

0.21.3

3 years ago

0.20.4

3 years ago

0.21.2

3 years ago

0.21.1

3 years ago

0.20.3

3 years ago

0.20.1

3 years ago

0.20.0

3 years ago

0.20.2

3 years ago

0.19.11

4 years ago

0.19.12

4 years ago

0.19.10

4 years ago

0.19.9

4 years ago

0.19.8

4 years ago

0.19.0

4 years ago

0.19.1

4 years ago

0.19.2

4 years ago

0.19.4

4 years ago

0.19.6

4 years ago

0.19.7

4 years ago

0.18.3

5 years ago

0.18.2

5 years ago

0.18.1

5 years ago

0.18.0

5 years ago

0.17.2

5 years ago

0.17.1

5 years ago

0.17.0

5 years ago

0.16.0

5 years ago

0.15.5

5 years ago

0.15.4

5 years ago

0.15.3

5 years ago