From b23adf127dab0f059f388fc483a9302b6d28f6dc Mon Sep 17 00:00:00 2001 From: Brandon Corbett Date: Mon, 9 Nov 2026 21:00:32 -0500 Subject: [PATCH] docs: point native app users at OpenID Provider 0.4.1 The compatibility matrix lists 0.4.1, and the v0.23 upgrade steps say to skip 0.4.0 with native or desktop clients, since its grant handling lets a step-up end itself. --- src/content/docs/build/ecosystem.mdx | 7 ++++--- src/content/docs/reference/release-v0-23.mdx | 8 +++++--- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/src/content/docs/build/ecosystem.mdx b/src/content/docs/build/ecosystem.mdx index a87a299..b77555b 100644 --- a/src/content/docs/build/ecosystem.mdx +++ b/src/content/docs/build/ecosystem.mdx @@ -174,7 +174,7 @@ packages, which require Node.js 18 or later. | Package | Latest release | Declares on other Seamless packages | Other peer ranges | | --------------------------------- | -------------- | ------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------- | | `seamless-auth-api` | 0.23.0 | `@seamless-auth/types` ^0.40.0, `@seamless-auth/messaging`, `-aws`, `-twilio` ^0.3.1 | None | -| `@seamless-auth/oidc-provider` | 0.4.0 | `@seamless-auth/express` and `core` ^0.26.0, `@seamless-auth/types` ^0.40.0 | None | +| `@seamless-auth/oidc-provider` | 0.4.1 | `@seamless-auth/express` and `core` ^0.26.0, `@seamless-auth/types` ^0.40.0 | None | | `@seamless-auth/core` | 0.26.0 | `@seamless-auth/types` ^0.40.0 | None | | `@seamless-auth/express` | 0.26.0 | `@seamless-auth/core` ^0.26.0 | `express` >=5.0.0 | | `@seamless-auth/fastify` | 0.17.0 | `@seamless-auth/core` ^0.26.0 | `fastify` >=5.0.0 | @@ -204,8 +204,9 @@ How to read it: `nextjs`, the CLI and the dashboard declare ^0.40.0. `client`, `react` and `react-native` declare ^0.38.0, and the messaging packages ^0.34.0. An app that installs packages from more than one group gets more than one copy of it. -- `@seamless-auth/oidc-provider` 0.4.0 speaks OpenID Provider contract version 3, as auth API - 0.22.0 and 0.23.0 do. Its `permissions` and `custom_claims` scopes need auth API 0.23.0; against +- `@seamless-auth/oidc-provider` 0.4.0 and 0.4.1 speak OpenID Provider contract version 3, as auth + API 0.22.0 and 0.23.0 do. Run 0.4.1 with native or desktop clients: on 0.4.0 a step-up or second + sign-in shares the first sign-in's grant, so revoking the replaced refresh token ends both. Its `permissions` and `custom_claims` scopes need auth API 0.23.0; against 0.22.0 those claims are not released. - The adapters' permission guards (`requirePermission` and the framework equivalents) need auth API 0.23.0. Against an older API they deny every request, since no token carries permissions. diff --git a/src/content/docs/reference/release-v0-23.mdx b/src/content/docs/reference/release-v0-23.mdx index 53a4dbb..56173d3 100644 --- a/src/content/docs/reference/release-v0-23.mdx +++ b/src/content/docs/reference/release-v0-23.mdx @@ -13,7 +13,7 @@ server calls out to your systems: signed webhooks, login hooks that can deny or custom claims, and audit streaming to a SIEM. It also finishes v0.21's native app work and the fixes from its security review. -It shipped as auth API 0.23.0 and OpenID Provider 0.4.0, with releases of the shared types (0.40.0), +It shipped as auth API 0.23.0 and OpenID Provider 0.4.0 (0.4.1 is the patch to run), with releases of the shared types (0.40.0), server adapters (core and Express 0.26.0, Fastify 0.17.0, Next.js 0.10.0), the admin dashboard (0.14.0) and the CLI (0.30.0). The Go, Python and Rust adapters' permission guards shipped in 0.6.0. The versions that go together are in the @@ -165,8 +165,10 @@ dashboard and the CLI. Clients need no change. 2. **Set `CALLOUT_SECRET_ENCRYPTION_KEY`** before you create a webhook or a login hook in production, which requires it once one exists. It encrypts their stored signing secrets. Credentials for audit sinks are env vars ending `_AUDIT_SINK_SECRET`, named by the sink and never stored. -3. **Upgrade the OpenID Provider** to 0.4.0, if you run it. It speaks the same `/oidc/*` contract as - API 0.22.0 and 0.23.0, but needs 0.23.0 for the new scopes. +3. **Upgrade the OpenID Provider** to 0.4.1, if you run it. It speaks the same `/oidc/*` contract as + API 0.22.0 and 0.23.0, but needs 0.23.0 for the new scopes. Skip 0.4.0 if you have native or + desktop clients: it gives a step-up or second sign-in the first sign-in's grant, so an app that + revokes the refresh token it replaced signs itself out. 4. **Upgrade the server adapters**: `@seamless-auth/express` 0.26.0, `@seamless-auth/fastify` 0.17.0, `@seamless-auth/nextjs` 0.10.0, or the Go, Python or Rust adapter 0.6.0. With a Node adapter, check that the browser app has `@seamless-auth/client` 0.8.3 or later.