Skip to content

Commit bd1c457

Browse files
committed
Merge branch 'main' into fix/dpop-nonce-retry-race
# Conflicts: # src/server/auth-client.ts
2 parents fab9069 + b06d30f commit bd1c457

203 files changed

Lines changed: 11905 additions & 2055 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/actions/npm-publish/action.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ name: Publish release to npm
33
inputs:
44
node-version:
55
required: true
6-
npm-token:
7-
required: true
86
version:
97
required: true
108
require-build:
@@ -29,11 +27,16 @@ runs:
2927
with:
3028
node-version: 22
3129
cache: 'pnpm'
30+
registry-url: 'https://registry.npmjs.org'
3231

3332
- name: Install dependencies
3433
shell: bash
3534
run: pnpm install --frozen-lockfile
3635

36+
- name: Update npm for OIDC trusted publishing
37+
shell: bash
38+
run: npm install -g npm@~11.10.0
39+
3740
- name: Build package
3841
if: inputs.require-build == 'true'
3942
shell: bash
@@ -50,9 +53,7 @@ runs:
5053
else
5154
TAG="latest"
5255
fi
53-
npm config set "//registry.npmjs.org/:_authToken" "${NPM_TOKEN}"
54-
pnpm publish --tag $TAG
56+
npm publish --tag $TAG
5557
env:
56-
NPM_TOKEN: ${{ inputs.npm-token }}
5758
VERSION: ${{ inputs.version }}
5859
NPM_CONFIG_PROVENANCE: true

.github/workflows/npm-release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ on:
1515
secrets:
1616
github-token:
1717
required: true
18-
npm-token:
19-
required: true
2018

2119
### TODO: Replace instances of './.github/actions/' w/ `auth0/dx-sdk-actions/` and append `@latest` after the common `dx-sdk-actions` repo is made public.
2220
### TODO: Also remove `get-prerelease`, `get-version`, `release-create`, `tag-create` and `tag-exists` actions from this repo's .github/actions folder once the repo is public.
@@ -26,6 +24,9 @@ jobs:
2624
if: github.event_name == 'workflow_dispatch' || (github.event_name == 'pull_request' && github.event.pull_request.merged && startsWith(github.event.pull_request.head.ref, 'release/'))
2725
runs-on: ubuntu-latest
2826
environment: release
27+
permissions:
28+
contents: write
29+
id-token: write # Required for OIDC trusted publishing to npm
2930

3031
steps:
3132
# Checkout the code
@@ -70,7 +71,6 @@ jobs:
7071
require-build: ${{ inputs.require-build }}
7172
release-directory: ${{ inputs.release-directory }}
7273
version: ${{ steps.get_version.outputs.version }}
73-
npm-token: ${{ secrets.npm-token }}
7474

7575
# Create a release for the tag
7676
- uses: ./.github/actions/release-create

.github/workflows/release.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,4 @@ jobs:
3535
node-version: 22 ## Updated to Node.js 22
3636
require-build: false
3737
secrets:
38-
npm-token: ${{ secrets.NPM_TOKEN }}
3938
github-token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ jobs:
8383
run: pnpm test:coverage
8484

8585
- name: Upload coverage to Codecov
86-
uses: codecov/codecov-action@1af58845a975a7985b0beb0cbe6fbbb71a41dbad # pin@5.5.3
86+
uses: codecov/codecov-action@57e3a136b779b570ffcdbf80b3bdc90e7fab3de2 # pin@6.0.0
8787
with:
8888
token: ${{ secrets.CODECOV_TOKEN }}
8989

.version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v4.16.1
1+
v4.17.1

CHANGELOG.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,31 @@
11
# Change Log
22

3+
## [v4.17.1](https://github.com/auth0/nextjs-auth0/tree/v4.17.1) (2026-04-16)
4+
[Full Changelog](https://github.com/auth0/nextjs-auth0/compare/v4.17.0...v4.17.1)
5+
6+
**Fixed**
7+
- fix: defer `AuthClientProvider` construction when `AUTH0_DOMAIN` not set at build time [\#2604](https://github.com/auth0/nextjs-auth0/pull/2604) ([sleitor](https://github.com/sleitor))
8+
- fix: Next.js edge runtime build error for crypto module [\#2564](https://github.com/auth0/nextjs-auth0/pull/2564) ([Piyush-85](https://github.com/Piyush-85))
9+
10+
## [v4.17.0](https://github.com/auth0/nextjs-auth0/tree/v4.17.0) (2026-04-09)
11+
[Full Changelog](https://github.com/auth0/nextjs-auth0/compare/v4.16.2...v4.17.0)
12+
13+
**Added**
14+
- feat: MCD (Multiple Custom Domains) Support [\#2545](https://github.com/auth0/nextjs-auth0/pull/2545) ([tusharpandey13](https://github.com/tusharpandey13))
15+
16+
**Fixed**
17+
- fix: prevent rolling session from re-creating a deleted session on concurrent logout [\#2530](https://github.com/auth0/nextjs-auth0/pull/2530) ([sleitor](https://github.com/sleitor))
18+
19+
## [v4.16.2](https://github.com/auth0/nextjs-auth0/tree/v4.16.2) (2026-04-07)
20+
[Full Changelog](https://github.com/auth0/nextjs-auth0/compare/v4.16.1...v4.16.2)
21+
22+
**Fixed**
23+
- fix: Middleware should not throw ERR_JWE_INVALID [\#2546](https://github.com/auth0/nextjs-auth0/pull/2546) ([crob](https://github.com/crob))
24+
- fix: preserve error details from HTTP 5xx OAuth responses [\#2533](https://github.com/auth0/nextjs-auth0/pull/2533) ([sleitor](https://github.com/sleitor))
25+
26+
**Security**
27+
- chore(deps): update eslint to fix flatted vulnerability [\#2575](https://github.com/auth0/nextjs-auth0/pull/2575) ([Piyush-85](https://github.com/Piyush-85))
28+
329
## [v4.16.1](https://github.com/auth0/nextjs-auth0/tree/v4.16.1) (2026-03-25)
430
[Full Changelog](https://github.com/auth0/nextjs-auth0/compare/v4.16.0...v4.16.1)
531

0 commit comments

Comments
 (0)