Skip to content
@authsec-ai

authsec-ai

AuthSec

AuthSec is an Agent-Native Authentication and Authorization platform designed for AI agents, MCP servers, and modern applications.

It provides identity, authentication, authorization, secrets management, and workload identity for autonomous systems and services.


What AuthSec Enables

  • 🔐 Agent authentication using OIDC / SAML2 SSO
  • 🤖 Headless authentication using CIBA
  • 🛡 RBAC authorization for AI agents and services
  • 🔑 Secrets storage and retrieval
  • 🔗 SPIFFE workload identity
  • 👥 Multi-tenant IAM platform
  • 🔑 Passkeys / WebAuthn MFA

Installation

AuthSec consists of two main components:

Component Repository
Backend API https://github.com/authsec-ai/authsec-ai
Web Console https://github.com/authsec-ai/authsec-ui

Both services must be running.


1. Run AuthSec Backend

Requirements

  • Go 1.25+
  • PostgreSQL 14+
  • (Optional) Redis
  • (Optional) HashiCorp Vault

Clone repository

git clone https://github.com/authsec-ai/authsec-ai.git
cd authsec

Configure environment

cp .env.example .env

Minimum configuration:

DB_NAME=authsec_db
DB_USER=authsec
DB_PASSWORD=password
DB_HOST=localhost
DB_PORT=5432

WEBAUTHN_RP_NAME=AuthSec
WEBAUTHN_RP_ID=localhost
WEBAUTHN_ORIGIN=http://localhost:5173

Run the backend

go run ./cmd/

AuthSec backend will start on:

http://localhost:7468

Health check:

curl http://localhost:7468/authsec/uflow/health

2. Run AuthSec UI

Requirements

  • Node.js 20+
  • npm 10+

Clone repository

git clone https://github.com/authsec-ai/authsec-ui.git
cd authsec-ui

Install dependencies

npm install

Configure environment

cp .env.example .env

Edit .env:

VITE_API_URL=http://localhost:7468
VITE_APP_NAME=AuthSec

Start UI

npm run dev

The UI will be available at:

http://localhost:5173

Architecture

        +----------------------+
        |      AuthSec UI      |
        |   React + Vite + TS  |
        +----------+-----------+
                   |
                   |
        +----------v-----------+
        |      AuthSec API     |
        |        Go + Gin      |
        +----------+-----------+
                   |
     +-------------+-------------+
     |             |             |
 PostgreSQL      Redis         Vault

Documentation

Full documentation is available at:

👉 https://docs.authsec.dev/getting-started/

The documentation includes:

  • Platform overview
  • Authentication setup
  • RBAC configuration
  • AI agent authentication
  • SPIFFE workload identity
  • Security best practices
  • Integration guides

Open Source Documentation

AuthSec documentation is open source and maintained in the following repositories.

Repository Description
https://github.com/authsec-ai/authsec-community-docs Platform documentation
https://github.com/authsec-ai/authsec-community-apidocs API reference documentation

Developers can update documentation when contributing features.


Updating Docs Locally

If you are contributing to AuthSec and want to update the documentation alongside your code changes:

Platform Documentation

git clone https://github.com/authsec-ai/authsec-community-docs.git
cd authsec-community-docs

Follow the instructions in that repository to run the docs locally and submit a pull request with your changes.


API Documentation

git clone https://github.com/authsec-ai/authsec-community-apidocs.git
cd authsec-community-apidocs

Update API specs and examples according to your changes before submitting a pull request.


Hosted Platform

If you prefer not to self-host AuthSec, you can use the managed platform:

👉 https://authsec.ai


Repositories

Repository Description
https://github.com/authsec-ai/authsec-ai Core IAM backend
https://github.com/authsec-ai/authsec-ui Web console
https://github.com/authsec-ai/sdk-authsec SDK for agents and services
https://github.com/authsec-ai/authsec-community-docs Documentation
https://github.com/authsec-ai/authsec-community-apidocs API documentation

License

Apache License 2.0

Pinned Loading

  1. authsec-ai authsec-ai Public

    Identity layer for Agents and Autonomous AI. With OAuth 2.1, CIBA, SPIFFE workload identity (for agent to agent auth), secret vault and MFA.

    Go 16 6

Repositories

Showing 10 of 24 repositories
  • Authsec-ui Public

    Admin dashboard with RBAC, OAuth flows, voice authentication UI, and MFA management. Built for teams deploying AuthSec on-premises.

    authsec-ai/Authsec-ui's past year of commit activity
    TypeScript 0 0 0 0 Updated Sep 30, 2026
  • authsec Public

    Identity layer for Agents and Autonomous AI. With OAuth 2.1, CIBA, SPIFFE workload identity (for agent to agent auth), secret vault and MFA.

    authsec-ai/authsec's past year of commit activity
    Go 9 1 0 3 Updated Sep 29, 2026
  • onprem Public
    authsec-ai/onprem's past year of commit activity
    Go Template 0 0 0 0 Updated Sep 18, 2026
  • authsec-ai/authsec-deploy's past year of commit activity
    Shell 0 0 0 0 Updated Aug 31, 2026
  • sdk-authsec Public
    authsec-ai/sdk-authsec's past year of commit activity
    Python 1 1 0 1 Updated Jul 21, 2026
  • authsec-ai Public

    Identity layer for Agents and Autonomous AI. With OAuth 2.1, CIBA, SPIFFE workload identity (for agent to agent auth), secret vault and MFA.

    authsec-ai/authsec-ai's past year of commit activity
    Go 16 6 1 0 Updated Jul 3, 2026
  • authsec-openclaw Public Forked from openclaw/openclaw

    Your own personal AI assistant. Any OS. Any Platform. The lobster way. 🦞

    authsec-ai/authsec-openclaw's past year of commit activity
    TypeScript 0 MIT 82,999 0 0 Updated May 14, 2026
  • session-vault Public
    authsec-ai/session-vault's past year of commit activity
    Rust 0 0 0 0 Updated May 14, 2026
  • authsec-ai/authsec-bridge's past year of commit activity
    Python 9 1 0 0 Updated May 8, 2026
  • authsec-ai/authsec-agent-shield's past year of commit activity
    Go 0 0 0 0 Updated May 5, 2026

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Most used topics