Skip to content

chore(deps): combine Dependabot PRs; web/app on authorizer-react 2.2.1 (#855) - #901

Merged
lakhansamani merged 19 commits into
mainfrom
chore/deps-and-react-2.2.1
Nov 17, 2026
Merged

lakhansamani merged 19 commits into
mainfrom
chore/deps-and-react-2.2.1

Conversation

@lakhansamani

@lakhansamani lakhansamani commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

Combines all open Dependabot PRs and moves the hosted login page to @authorizerdev/authorizer-react 2.2.1, the client half of #855. The server half is #899.

Dependabot

#892 #893 #894 #895 #896 #897 #898

PR Change
#892 alpine 3.24.3 → 3.24.4 (both Dockerfile stages)
#893 web/app npm minor/patch group (lockfile)
#894 web/dashboard npm minor/patch group (lockfile)
#895 web/dashboard jsdom 29 → 31 (dev)
#896 web/dashboard tailwind-merge 2 → 3. Correct here: the dashboard is on Tailwind CSS v4, which tailwind-merge 3 targets
#897 web/dashboard @urql/core 4 → 6
#898 web/dashboard vitest 4 → 5 (dev)

Fix needed:

authorizer-react 2.2.1

  • web/app is pinned to 2.2.1 (exact, like 2.2.0 was). On Authorizer's login page during an /authorize request, the social buttons now return to the page's own /app/ URL, so the login resumes through /authorize.
  • Playwright case in e2e-playground/tests/social/github.spec.ts: a self-registered client whose callback is outside --allowed-origins completes GitHub login, sees consent before anything reaches it, and redeems a code whose id_token carries its own nonce. It lives in github.spec.ts because every GitHub test shares mock-oauth's one profile and Playwright runs files in parallel.

Fixes found by the full e2e run

The first full make e2e-playground on this branch had 4 failures out of 88. A baseline run on main showed which were caused here and which were already there:

Failure On main Cause Fix
dashboard-org-domains ×2 passed Caused by this branch. @urql/core 6 sends queries as GET by default (preferGetMethod: "within-url-limit"; 4.3.0 defaulted to POST). The server serves /graphql on POST only, so every dashboard query 404'd: blank version, stuck on the admin login screen preferGetMethod: false in web/dashboard/src/App.tsx (b968185)
saml-sp SP-initiated login failed Pre-existing since 2.4.5. The e2e mock IdP rendered {AuthnStatement} empty. saml-profiles §4.1.4.2 requires one, and crewjam/saml ≥ v0.6.2 (in 2.4.5 via #828) rejects the assertion. Real IdPs always send it, so this is a fixture defect, not a production regression The mock now sends a conformant AuthnStatement, spliced into the template because samlify XML-escapes values (784173d)
magic-link replay failed Pre-existing since 2.4.2. The spec expected access_token= in the /verify_email redirect, which #798 (GHSA-44vr-f829-xfch) removed on purpose The spec now asserts the opposite: no token in the URL, no error, session cookie set (784173d)

Also: saml_sp.go now logs crewjam's private validation error as cause at debug level. The public message is a fixed "Authentication failed"; the private one is what found the AuthnStatement problem.

Verification (final head 784173d5, local, go1.27.4)

Suite Result
go vet ./... / make lint pass / 0 issues
make test 44 packages ok
make smoke (GraphQL + REST + gRPC + MCP) pass
make test-all-db (12 DBs) 44 packages ok, 0 FAIL, 0 SKIP
make e2e-playground 88 / 88 passed (was 84/88 on this branch, 85/87 on main)
web/dashboard tsc clean, 43 tests, build
web/app tsc clean, build, lint-ts
GitHub CI Go tests, lint, govulncheck, release smoke: all pass

dependabot Bot and others added 19 commits November 16, 2026 06:42
Bumps alpine from 3.24.3 to 3.24.4.

---
updated-dependencies:
- dependency-name: alpine
  dependency-version: 3.24.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Bumps the npm-minor-and-patch group in /web/app with 3 updates: [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react), [prettier](https://github.com/prettier/prettier) and [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite).


Updates `@vitejs/plugin-react` from 6.2.1 to 6.3.0
- [Release notes](https://github.com/vitejs/vite-plugin-react/releases)
- [Changelog](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite-plugin-react/commits/[email protected]/packages/plugin-react)

Updates `prettier` from 3.9.10 to 3.10.1
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](prettier/prettier@3.9.10...3.10.1)

Updates `vite` from 8.3.6 to 8.3.8
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v8.3.8/packages/vite)

---
updated-dependencies:
- dependency-name: "@vitejs/plugin-react"
  dependency-version: 6.3.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: npm-minor-and-patch
- dependency-name: prettier
  dependency-version: 3.10.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: npm-minor-and-patch
- dependency-name: vite
  dependency-version: 8.3.8
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm-minor-and-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Bumps the npm-minor-and-patch group in /web/dashboard with 7 updates:

| Package | From | To |
| --- | --- | --- |
| [lucide-react](https://github.com/lucide-icons/lucide/tree/HEAD/packages/lucide-react) | `1.70.0` | `1.72.0` |
| [react-dropzone](https://github.com/react-dropzone/react-dropzone) | `20.1.4` | `20.2.0` |
| [@tailwindcss/vite](https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/@tailwindcss-vite) | `4.3.4` | `4.3.5` |
| [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react) | `6.2.1` | `6.3.0` |
| [prettier](https://github.com/prettier/prettier) | `3.9.10` | `3.10.1` |
| [tailwindcss](https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/tailwindcss) | `4.3.4` | `4.3.5` |
| [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) | `8.3.6` | `8.3.8` |


Updates `lucide-react` from 1.70.0 to 1.72.0
- [Release notes](https://github.com/lucide-icons/lucide/releases)
- [Commits](https://github.com/lucide-icons/lucide/commits/1.72.0/packages/lucide-react)

Updates `react-dropzone` from 20.1.4 to 20.2.0
- [Release notes](https://github.com/react-dropzone/react-dropzone/releases)
- [Commits](react-dropzone/react-dropzone@v20.1.4...v20.2.0)

Updates `@tailwindcss/vite` from 4.3.4 to 4.3.5
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/commits/v4.3.5/packages/@tailwindcss-vite)

Updates `@vitejs/plugin-react` from 6.2.1 to 6.3.0
- [Release notes](https://github.com/vitejs/vite-plugin-react/releases)
- [Changelog](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite-plugin-react/commits/[email protected]/packages/plugin-react)

Updates `prettier` from 3.9.10 to 3.10.1
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](prettier/prettier@3.9.10...3.10.1)

Updates `tailwindcss` from 4.3.4 to 4.3.5
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/commits/v4.3.5/packages/tailwindcss)

Updates `vite` from 8.3.6 to 8.3.8
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v8.3.8/packages/vite)

---
updated-dependencies:
- dependency-name: lucide-react
  dependency-version: 1.72.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: npm-minor-and-patch
- dependency-name: react-dropzone
  dependency-version: 20.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: npm-minor-and-patch
- dependency-name: "@tailwindcss/vite"
  dependency-version: 4.3.5
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm-minor-and-patch
- dependency-name: "@vitejs/plugin-react"
  dependency-version: 6.3.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: npm-minor-and-patch
- dependency-name: prettier
  dependency-version: 3.10.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: npm-minor-and-patch
- dependency-name: tailwindcss
  dependency-version: 4.3.5
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm-minor-and-patch
- dependency-name: vite
  dependency-version: 8.3.8
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm-minor-and-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Bumps [jsdom](https://github.com/jsdom/jsdom) from 29.1.1 to 31.0.1.
- [Release notes](https://github.com/jsdom/jsdom/releases)
- [Commits](jsdom/jsdom@v29.1.1...v31.0.1)

---
updated-dependencies:
- dependency-name: jsdom
  dependency-version: 31.0.1
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
#897 bumped @urql/core to 6, but urql 4.2.2 requires @urql/core ^5 (peer
and direct dependency), so the dashboard would have carried two copies of
the client. urql 5.0.4 is the release that pairs with @urql/core 6; the
dashboard only uses createClient/Provider/cacheExchange/fetchExchange/
useQuery. Lockfile regenerated: one deduped @urql/core 6.0.3; tsc clean,
43 tests pass on vitest 5 + jsdom 31, build passes.
authorizer-react 2.2.1 makes the hosted login page's social buttons return
to its own /app URL during an /authorize request, so the login resumes
through /authorize (client redirect_uri check, consent, PKCE). This is the
client half of #855; the server half is #899.

Adds a Playwright case to github.spec.ts (not its own file: every GitHub
test shares mock-oauth's single profile, and Playwright runs files in
parallel): a self-registered client whose callback is outside
--allowed-origins completes GitHub login, sees consent before anything
reaches it, and redeems a code whose id_token carries its own nonce.
@urql/core 6 defaults preferGetMethod to "within-url-limit", so queries go
out as GET. The server registers /graphql for POST only, so every dashboard
query 404'd: no meta (blank version), no admin session (stuck on the login
screen), no data. Mutations still used POST, which is why only reads broke.
@urql/core 4.3.0 defaulted to POST. Caught by e2e-playground's
dashboard-org-domains spec, which passes on main and failed on this branch;
the dashboard unit tests never exercise the real client.
Both were red on main; e2e-playground does not run in CI.

- mock-saml-idp rendered {AuthnStatement} empty, so its assertions had none.
  saml-profiles §4.1.4.2 requires one, and crewjam/saml >= v0.6.2 (in since
  2.4.5) rejects the assertion: SP-initiated SAML login failed at /acs. Real
  IdPs always send it. The element is spliced into the template before
  replaceTagsByValue, which XML-escapes values and would render it as text.
- magic-link.spec asserted access_token= in the /verify_email redirect, the
  behaviour #798 (GHSA-44vr-f829-xfch, 2.4.2) removed on purpose. It now
  asserts the opposite: no token in the URL, no error, session cookie set.
- saml_sp.go: log crewjam's InvalidResponseError.PrivateErr as 'cause' at
  debug level. Its public message is a fixed "Authentication failed"; the
  private one is what found the AuthnStatement problem.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant