From 8103ab4b5102072298ea484ca101486cce7e085e Mon Sep 17 00:00:00 2001 From: Brandon Corbett Date: Mon, 9 Nov 2026 15:59:48 -0500 Subject: [PATCH 1/3] ci(examples): run the native examples against published API v0.23.0 Moves both native example workflows to the local recipe commit that pins the published API v0.23.0 and edge v0.4.0 images instead of building the API from source. Refs #137 --- .github/workflows/native-cli-example.yaml | 5 ++--- .github/workflows/native-desktop-example.yaml | 5 ++--- examples/native-cli/README.md | 6 ++---- examples/native-desktop/README.md | 12 ++++++------ 4 files changed, 12 insertions(+), 16 deletions(-) diff --git a/.github/workflows/native-cli-example.yaml b/.github/workflows/native-cli-example.yaml index 8ee09e6..2143aa4 100644 --- a/.github/workflows/native-cli-example.yaml +++ b/.github/workflows/native-cli-example.yaml @@ -20,9 +20,8 @@ concurrency: cancel-in-progress: true env: - # The recipe builds the API from source until API v0.23.0 is published - # (fells-code/seamless-auth-api#561), though this example uses nothing new in it. - RECIPE_REF: 30be59b557ad109a93aff68695f0fb21ff2ef84d + # The recipe runs the published API v0.23.0 and edge v0.4.0 images. + RECIPE_REF: c0fd8da32b672da01b81b714d967ee1ddd1deae3 jobs: example: diff --git a/.github/workflows/native-desktop-example.yaml b/.github/workflows/native-desktop-example.yaml index b608dc5..516d830 100644 --- a/.github/workflows/native-desktop-example.yaml +++ b/.github/workflows/native-desktop-example.yaml @@ -20,9 +20,8 @@ concurrency: cancel-in-progress: true env: - # The recipe builds the API from source until API v0.23.0 is published - # (fells-code/seamless-auth-api#561), since v0.22.0 has no client link routes. - RECIPE_REF: 30be59b557ad109a93aff68695f0fb21ff2ef84d + # The recipe runs the published API v0.23.0 and edge v0.4.0 images. + RECIPE_REF: c0fd8da32b672da01b81b714d967ee1ddd1deae3 jobs: example: diff --git a/examples/native-cli/README.md b/examples/native-cli/README.md index 5016f71..0b50913 100644 --- a/examples/native-cli/README.md +++ b/examples/native-cli/README.md @@ -41,10 +41,8 @@ check. Nothing in it is specific to one product. "Notes" is a stand-in. - Node 22.12 or newer, and Docker with Compose for the local instance. - The [local recipe](https://github.com/fells-code/seamless-auth-oidc-provider/tree/main/local) of - `seamless-auth-oidc-provider`, at commit `30be59b`. -- **The recipe builds Seamless Auth API v0.23.0 from source, because that release is not published - yet.** This example uses nothing new in it: the recipe needs it for the client links in its seed. - Neither the example nor its check has been run against a published API. + `seamless-auth-oidc-provider`, at commit `c0fd8da`. +- The recipe runs the published Seamless Auth API v0.23.0 and edge v0.4.0 images. ## Run it diff --git a/examples/native-desktop/README.md b/examples/native-desktop/README.md index 35dc74a..2b275f0 100644 --- a/examples/native-desktop/README.md +++ b/examples/native-desktop/README.md @@ -21,12 +21,12 @@ Nothing in it is specific to one product. "Desk Notes" is a stand-in. - Node 22.12 or newer, and Docker with Compose for the local instance. - The [local recipe](https://github.com/fells-code/seamless-auth-oidc-provider/pull/60) of - `seamless-auth-oidc-provider`, at commit `30be59b`. -- **Seamless Auth API v0.23.0 for the notice, which is not published yet.** The recipe builds the API - from source at a pinned commit until then, because v0.22.0 has no client link routes. Sign-in, - refresh, revocation and step-up do not depend on links. -- Edge image `v0.3.0`, the first with `acr`, `amr` and `auth_time` on access tokens, and - `@seamless-auth/express` 0.24.0. The recipe and `package.json` pin both. + `seamless-auth-oidc-provider`, at commit `c0fd8da`. +- Seamless Auth API v0.23.0 or later for the notice, since earlier versions have no client link + routes. Sign-in, refresh, revocation and step-up do not depend on links. +- Edge image `v0.3.0` or later (the first with `acr`, `amr` and `auth_time` on access tokens), and + `@seamless-auth/express` 0.24.0. The recipe pins API v0.23.0 and edge v0.4.0, and `package.json` + pins the adapter. ## Run it From 6eb006aea3a0396b5056e90175e68493bb46df2c Mon Sep 17 00:00:00 2001 From: Brandon Corbett Date: Mon, 9 Nov 2026 20:09:13 -0500 Subject: [PATCH 2/3] ci(examples): run the native examples on edge v0.4.1 Edge v0.4.1 gives each native authorization its own grant, which both examples need. Refs #137 --- .github/workflows/native-cli-example.yaml | 4 ++-- .github/workflows/native-desktop-example.yaml | 4 ++-- examples/native-cli/README.md | 4 ++-- examples/native-desktop/README.md | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/native-cli-example.yaml b/.github/workflows/native-cli-example.yaml index 2143aa4..96125cf 100644 --- a/.github/workflows/native-cli-example.yaml +++ b/.github/workflows/native-cli-example.yaml @@ -20,8 +20,8 @@ concurrency: cancel-in-progress: true env: - # The recipe runs the published API v0.23.0 and edge v0.4.0 images. - RECIPE_REF: c0fd8da32b672da01b81b714d967ee1ddd1deae3 + # The recipe runs the published API v0.23.0 and edge v0.4.1 images. + RECIPE_REF: 16fe6e5203a979e7e8fe3f41b277af76eab115bb jobs: example: diff --git a/.github/workflows/native-desktop-example.yaml b/.github/workflows/native-desktop-example.yaml index 516d830..dc1970b 100644 --- a/.github/workflows/native-desktop-example.yaml +++ b/.github/workflows/native-desktop-example.yaml @@ -20,8 +20,8 @@ concurrency: cancel-in-progress: true env: - # The recipe runs the published API v0.23.0 and edge v0.4.0 images. - RECIPE_REF: c0fd8da32b672da01b81b714d967ee1ddd1deae3 + # The recipe runs the published API v0.23.0 and edge v0.4.1 images. + RECIPE_REF: 16fe6e5203a979e7e8fe3f41b277af76eab115bb jobs: example: diff --git a/examples/native-cli/README.md b/examples/native-cli/README.md index 0b50913..0a17118 100644 --- a/examples/native-cli/README.md +++ b/examples/native-cli/README.md @@ -41,8 +41,8 @@ check. Nothing in it is specific to one product. "Notes" is a stand-in. - Node 22.12 or newer, and Docker with Compose for the local instance. - The [local recipe](https://github.com/fells-code/seamless-auth-oidc-provider/tree/main/local) of - `seamless-auth-oidc-provider`, at commit `c0fd8da`. -- The recipe runs the published Seamless Auth API v0.23.0 and edge v0.4.0 images. + `seamless-auth-oidc-provider`, at commit `16fe6e5`. +- The recipe runs the published Seamless Auth API v0.23.0 and edge v0.4.1 images. ## Run it diff --git a/examples/native-desktop/README.md b/examples/native-desktop/README.md index 2b275f0..d2a3ac6 100644 --- a/examples/native-desktop/README.md +++ b/examples/native-desktop/README.md @@ -21,11 +21,11 @@ Nothing in it is specific to one product. "Desk Notes" is a stand-in. - Node 22.12 or newer, and Docker with Compose for the local instance. - The [local recipe](https://github.com/fells-code/seamless-auth-oidc-provider/pull/60) of - `seamless-auth-oidc-provider`, at commit `c0fd8da`. + `seamless-auth-oidc-provider`, at commit `16fe6e5`. - Seamless Auth API v0.23.0 or later for the notice, since earlier versions have no client link routes. Sign-in, refresh, revocation and step-up do not depend on links. - Edge image `v0.3.0` or later (the first with `acr`, `amr` and `auth_time` on access tokens), and - `@seamless-auth/express` 0.24.0. The recipe pins API v0.23.0 and edge v0.4.0, and `package.json` + `@seamless-auth/express` 0.24.0. The recipe pins API v0.23.0 and edge v0.4.1, and `package.json` pins the adapter. ## Run it From 3d32979adff50da2f94fd94791eca0dce89e1590 Mon Sep 17 00:00:00 2001 From: Brandon Corbett Date: Mon, 9 Nov 2026 20:26:49 -0500 Subject: [PATCH 3/3] ci(examples): pin the native examples to the recipe on provider main Refs #137 --- .github/workflows/native-cli-example.yaml | 2 +- .github/workflows/native-desktop-example.yaml | 2 +- examples/native-cli/README.md | 2 +- examples/native-desktop/README.md | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/native-cli-example.yaml b/.github/workflows/native-cli-example.yaml index 96125cf..b1ba862 100644 --- a/.github/workflows/native-cli-example.yaml +++ b/.github/workflows/native-cli-example.yaml @@ -21,7 +21,7 @@ concurrency: env: # The recipe runs the published API v0.23.0 and edge v0.4.1 images. - RECIPE_REF: 16fe6e5203a979e7e8fe3f41b277af76eab115bb + RECIPE_REF: f1d1b05cf916e36b951ff47ae68ab596a3d7687f jobs: example: diff --git a/.github/workflows/native-desktop-example.yaml b/.github/workflows/native-desktop-example.yaml index dc1970b..a54531d 100644 --- a/.github/workflows/native-desktop-example.yaml +++ b/.github/workflows/native-desktop-example.yaml @@ -21,7 +21,7 @@ concurrency: env: # The recipe runs the published API v0.23.0 and edge v0.4.1 images. - RECIPE_REF: 16fe6e5203a979e7e8fe3f41b277af76eab115bb + RECIPE_REF: f1d1b05cf916e36b951ff47ae68ab596a3d7687f jobs: example: diff --git a/examples/native-cli/README.md b/examples/native-cli/README.md index 0a17118..ad4a74a 100644 --- a/examples/native-cli/README.md +++ b/examples/native-cli/README.md @@ -41,7 +41,7 @@ check. Nothing in it is specific to one product. "Notes" is a stand-in. - Node 22.12 or newer, and Docker with Compose for the local instance. - The [local recipe](https://github.com/fells-code/seamless-auth-oidc-provider/tree/main/local) of - `seamless-auth-oidc-provider`, at commit `16fe6e5`. + `seamless-auth-oidc-provider`, at commit `f1d1b05`. - The recipe runs the published Seamless Auth API v0.23.0 and edge v0.4.1 images. ## Run it diff --git a/examples/native-desktop/README.md b/examples/native-desktop/README.md index d2a3ac6..ebb5986 100644 --- a/examples/native-desktop/README.md +++ b/examples/native-desktop/README.md @@ -21,7 +21,7 @@ Nothing in it is specific to one product. "Desk Notes" is a stand-in. - Node 22.12 or newer, and Docker with Compose for the local instance. - The [local recipe](https://github.com/fells-code/seamless-auth-oidc-provider/pull/60) of - `seamless-auth-oidc-provider`, at commit `16fe6e5`. + `seamless-auth-oidc-provider`, at commit `f1d1b05`. - Seamless Auth API v0.23.0 or later for the notice, since earlier versions have no client link routes. Sign-in, refresh, revocation and step-up do not depend on links. - Edge image `v0.3.0` or later (the first with `acr`, `amr` and `auth_time` on access tokens), and