Identity & Access · Billing · Feature Flags · All in One

One platform for
auth, billing & access.

Replace Auth0, Stripe, LaunchDarkly, and Keygen with a single platform. Full OIDC IdP, SAML SSO, MFA, SCIM, billing, licensing, and 425 API commands. Managed hosting available by quote — or self-host for free.

# One endpoint, 425 commands — auth, billing & access in one call path
$ POST /api/v1/execute
{"command":"AUTH.LOGIN", "params":{"email":"ada@acme.dev", ...}}
{"command":"FGA.CHECK", "params":{"subject":"user:ada","relation":"repo:write","object":"repo:core"}}
{"command":"BILLING.RECORD_USAGE","params":{"meter":"api_calls","qty":1}}
→ {"ok":true, "allowed":true}
# Self-host in under 5 minutes
$ docker run -p 8400:8400 bastionary/bastionary
425
API Commands
55+
Admin UI Pages
∞
Users Free
$0
Per-MAU Cost

Built for production, day one.

The platform surface Bastionary ships today — real API coverage, SDKs, and deployment options.

404

API Commands

Single POST endpoint
70

Command Categories

Namespaced
55+

Admin UI Pages

Full audit interface
6

SDK Languages

TS · Python · Go · Ruby · Java · PHP
12

Auth Methods

OIDC · SAML · MFA · passkeys
< 5s

Cold Boot

Docker or binary
View full platform capability & status →

Everything. No asterisk.

Every feature that costs extra on Auth0 is included in the self-hosted edition, forever.

OIDC Identity Provider

Full OAuth 2.1-aligned + OIDC server. Authorization code + PKCE, PAR (RFC 9126), DPoP (RFC 9449), refresh token rotation with family-based reuse detection. RS256, ES256, EdDSA signing.

Enterprise SSO

SAML 2.0 with JIT provisioning, SCIM 2.0 user/group sync, enterprise connections, IdP group-to-role mapping. Bring Okta, Azure AD, or any SAML provider.

Adaptive MFA + Risk Engine

TOTP, WebAuthn/FIDO2, SMS, magic links. Risk-based step-up authentication — automatically challenges high-risk logins. Bot detection, HIBP credential breach checking, geo-validation.

Fine-Grained Authorization

Google Zanzibar-inspired relationship-based access control. RBAC, ABAC, and FGA in one system. Policy engine with custom rule evaluation.

Auth Hooks (20 triggers)

Pre/post hooks for every auth event. Encrypted action secrets injected at runtime. 5 built-in templates (block by country, require MFA, sync to CRM, Slack alerts). Webhook delivery with HMAC signing.

6 Language SDKs

TypeScript, Python, Go, Ruby, Java, PHP — all zero external dependencies. React drop-in components. Full command namespace coverage with typed responses.

Billing & Licensing built-in

Stripe + Paddle + LemonSqueezy integration. Seat-based licensing, per-feature entitlements, trial management, dunning, affiliate tracking. Auth and billing in one service.

Feature Flags + Entitlements

Per-user, per-team, per-plan feature flags. Entitlement engine for metered features. A/B testing segments. Onboarding checklist engine. All computed server-side.

SOC 2-Ready Audit Trail

Append-only audit log with SHA-256 hash chain integrity. Config change auditing. GDPR consent management with versioned, immutable records. Data retention policy enforcement.

Architecture at a glance

Bastionary sits between your app and your identity stack. Every auth event flows through one API layer — tokens, sessions, licenses, and billing in one service.

Bastionary architecture diagram

The honest comparison

We measured these ourselves. All data from public documentation as of 2026.

Feature Bastionary Auth0 Clerk Keycloak Cognito
Managed hosting availabilityAvailableAvailableAvailableSelf-host onlyAWS-managed
OIDC IdP (full RFC)✓✓PARTIAL✓PARTIAL
SAML SSO + JIT✓✓ Paid✓ Paid✓Lambda triggers
SCIM 2.0✓✓ Paid✓ Paid✓✗
Multi-tenancy✓✓✓✓✗ DIY
Billing / licensing built-in✓✗✗✗✗
Feature flags built-in✓✗✗✗✗
6 language SDKs✓✓PARTIAL✗AWS SDK only
Setup time< 5 min~30 min~10 min~2 hours~1 hour
Self-hosted option✓ Free forever✗ SaaS only✗ SaaS only✓ Free✗ AWS only

Simple. Transparent. Yours.

Download and self-host free, forever — ELv2 license, no MAU limits, no seat fees. Pay only if you want us to run it for you.

Community
$0 forever
Self-hosted. Unlimited users.
✓ Unlimited MAU
✓ All 425 API commands
✓ OIDC, SAML, SCIM
✓ MFA, risk engine
✓ 55 admin UI pages
✓ Elastic License v2 (ELv2)
○ Community support
○ Self-managed ops
Download & deploy →
Managed Hosting
Quote
We host it. You still own the stack.
✓ All 425 API commands
✓ Managed hosting + SSL
✓ Daily encrypted backups
✓ Provisioning wizard
✓ Email support
○ Scope and SLA quoted from your workload
Request quote →
Enterprise
Custom
Complex orgs, procurement, and dedicated rollout support.
✓ Custom scale envelope
✓ Everything in Operator Assist
✓ SLA defined during contracting
✓ SOC 2 readiness controls
✓ SSO enforcement
✓ Dedicated Slack channel
✓ Migration assistance
Contact sales →

Self-hosted is always free. Managed hosting and operator-assist packages are quoted from actual deployment scope instead of placeholder checkout numbers.

Need us to run it for you?

Tell us your traffic profile, auth surface, and compliance constraints. We'll scope managed hosting around the deployment you actually need instead of forcing unverified catalog pricing.

Request managed hosting Self-host and build →

Questions about managed hosting, migration, or procurement? Contact us

Questions? We're here.

Reach out about pricing, integrations, enterprise deployments, or anything else.

General questions, sales, enterprise, and security reports — use the form above. We respond within one business day.