For: Builders and Operators who already run a corporate IdP (Okta, Microsoft Entra ID, Google Workspace, Auth0, or any OIDC-compliant provider) and want Authplane to consume identity from it rather than manage passwords itself.
Concept context: Identity and federation, glossary — XAA, glossary — JWT Bearer.
These recipes connect Authplane to upstream identity providers in three increasingly powerful modes — interactive OIDC login, non-interactive JWT-bearer assertions, and full Cross-App Access (XAA) with per-policy scope narrowing.
- OIDC federation — interactive "Sign in with Okta / Google / Entra ID" recipe. Single upstream IdP per Authplane instance. The simplest case: users click a button, authenticate at the IdP, and Authplane provisions or links a local account. Start here.
- JWT Bearer grant — RFC 7523 recipe for backends that already hold an upstream IdP assertion and need to mint an Authplane access token without a browser. The wire-level building block that XAA is built on.
- Enterprise-Managed Authorization (XAA) — RFC 7523 with the AuthPlane XAA workflow: trusted-IdP registry, ID-JAG assertions, per-IdP policy engine, subject mapping, audited
actchains. - Test XAA end-to-end with Okta playground — reproducible walkthrough against the public
xaa.devIdP. No Okta tenant required.
- Authplane authserver running on an HTTPS issuer (
server.issuer). Local dev can use ngrok or a TLS proxy; production needs a real cert. See Deploy guides. - Admin API key (
admin.api_key) for any non-interactive setup — required for the XAA recipes, optional for OIDC. - A registered application at the upstream IdP, with Authplane's callback URL whitelisted.
- The Authplane config block for upstream OIDC is
oidc:(singular). The Authplane XAA block isxaa:. Seedocs/reference/configuration.md#config-oidcand#config-xaa. - XAA assertions MUST carry header
typ=oauth-id-jag+jwt. The grant type wire string isurn:ietf:params:oauth:grant-type:jwt-bearer(no separate XAA grant type — XAA is jwt-bearer with extra policy enforcement). - Every command in these recipes cites its anchor in
docs/reference/{cli,http-api,env-vars,configuration}.mdin a code-block comment. If a citation drifts from generated reference, the reference is ground truth. - There is no
AUTHPLANE_XAA_ENABLEDenv var. XAA is enabled via the YAMLxaa.enabled: trueonly — verified againstdocs/reference/env-vars.md.
- Reference → Authentication flows — XAA and OIDC-federation sequence diagrams.
- Topologies → OIDC federated login, Topologies → Enterprise XAA.
- Concepts → Identity and federation — the why behind these recipes.