Skip to content
All features
identity and trustpackages/iam/oauth-server

oauth-server package

Stand up your own OAuth 2.1 / OIDC provider. Authorization code + PKCE, refresh rotation, third-party app consent, JWT issuance with 1h default TTL.

Open docs
Stability
Stable
Scope
Tenant-scoped
Boundary
packages/iam/oauth-server
oauth-serverpackages/iam/oauth-server
Tenant-isolated
Policy decisionpass
  • Actor verified
    13 ms
  • Tenant scope
    8 ms
  • oauth-server authorized
    24 ms
  • Audit logged
    12 ms
Active session
actor_epglobex_5907
servicemfa
Expires in 54m

Active sessions

156

+1%

Audit entries / day

16,272

Policy checks / s

132

+5%
packages/iam/oauth-serverIdentity and trust · single boundary
Usageoauth-server.ts
typescript
oauth-server.ts
1import { oauthServer } from "@nebutra/oauth-server";
2
3// Tenant-scoped, audit-logged by default.
4await oauthServer.check({
5  actor: getCurrentActor(),
6  tenantId: org.id,
7});