agentauth-server

command
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 28, 2026 License: MIT Imports: 16 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Command agentauth-server runs a unified authorization server that combines the AAuth Person Server (human consent) and the ID-JAG Authorization Server (automated token exchange) into a single deployable binary.

Usage:

agentauth-server [flags]

The server exposes endpoints for both protocols:

AAuth Person Server endpoints (human consent):
  GET  /.well-known/aauth-configuration  - Discovery metadata
  POST /aauth/authorize                  - Request authorization
  GET  /aauth/consent/{id}               - Consent page
  POST /aauth/consent/{id}               - Submit consent
  GET  /aauth/consent/status/{id}        - Poll consent status
  POST /aauth/token                      - Token endpoint

ID-JAG Authorization Server endpoints (automated):
  GET  /.well-known/oauth-authorization-server  - Discovery metadata
  POST /oauth/token                              - Token exchange
  POST /oauth/introspect                         - Token introspection
  POST /oauth/revoke                             - Token revocation

Shared endpoints:
  GET  /.well-known/jwks.json  - Public key set

Example:

# Start server with default settings (in-memory database)
agentauth-server

# Start with persistent SQLite database
agentauth-server --db ./agentauth.db

# Start with custom port and issuer
agentauth-server --port 9000 --issuer https://auth.example.com

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL