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.
- Stability
- Stable
- Scope
- Tenant-scoped
- Boundary
- packages/iam/oauth-server
oauth-serverpackages/iam/oauth-server
Tenant-isolated
Policy decisionpass
- Actor verified13 ms
- Tenant scope8 ms
- oauth-server authorized24 ms
- Audit logged12 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
typescriptoauth-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});