Skip to content

Commit bbd4629

Browse files
committed
Merge remote-tracking branch 'upstream/main' into feat/custom-profile-and-access-token-routes
2 parents eda6c55 + 605eaf2 commit bbd4629

262 files changed

Lines changed: 31656 additions & 5847 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/playwright.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626

2727
- name: Run Playwright tests
2828
run: pnpm exec playwright test
29-
- uses: actions/upload-artifact@v6
29+
- uses: actions/upload-artifact@v7
3030
if: ${{ !cancelled() }}
3131
with:
3232
name: playwright-report

.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/rl-secure.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
fetch-depth: 0
3939

4040
- name: Setup pnpm
41-
uses: pnpm/action-setup@v4
41+
uses: pnpm/action-setup@v5
4242
with:
4343
version: 10
4444

.github/workflows/snyk.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
ref: ${{ github.event.pull_request.head.sha || github.ref }}
3737

3838
- name: Setup pnpm
39-
uses: pnpm/action-setup@v4 # docs https://pnpm.io/continuous-integration#github-actions
39+
uses: pnpm/action-setup@v5 # docs https://pnpm.io/continuous-integration#github-actions
4040
with:
4141
version: 10
4242

.github/workflows/test.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
uses: actions/checkout@v6
3030

3131
- name: Setup pnpm
32-
uses: pnpm/action-setup@v4
32+
uses: pnpm/action-setup@v5
3333
with:
3434
version: 10
3535

@@ -66,7 +66,7 @@ jobs:
6666
uses: actions/checkout@v6
6767

6868
- name: Setup pnpm
69-
uses: pnpm/action-setup@v4
69+
uses: pnpm/action-setup@v5
7070
with:
7171
version: 10
7272

@@ -83,7 +83,7 @@ jobs:
8383
run: pnpm test:coverage
8484

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

@@ -96,7 +96,7 @@ jobs:
9696
uses: actions/checkout@v6
9797

9898
- name: Setup pnpm
99-
uses: pnpm/action-setup@v4
99+
uses: pnpm/action-setup@v5
100100
with:
101101
version: 10
102102

.version

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

CHANGELOG.md

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

3+
## [v4.19.0](https://github.com/auth0/nextjs-auth0/tree/v4.19.0) (2026-04-22)
4+
[Full Changelog](https://github.com/auth0/nextjs-auth0/compare/v4.18.0...v4.19.0)
5+
6+
**Added**
7+
- feat: add mfa.stepUpWithPopup() for reactive MFA step-up via Universal Login [\#2524](https://github.com/auth0/nextjs-auth0/pull/2524) ([tusharpandey13](https://github.com/tusharpandey13))
8+
9+
**Fixed**
10+
- fix: MFA http contract parity fixes [\#2555](https://github.com/auth0/nextjs-auth0/pull/2555) ([tusharpandey13](https://github.com/tusharpandey13))
11+
- fix: skip MCD session backfill in static mode [\#2618](https://github.com/auth0/nextjs-auth0/pull/2618) ([tusharpandey13](https://github.com/tusharpandey13))
12+
13+
## [v4.18.0](https://github.com/auth0/nextjs-auth0/tree/v4.18.0) (2026-04-17)
14+
[Full Changelog](https://github.com/auth0/nextjs-auth0/compare/v4.17.1...v4.18.0)
15+
16+
**Added**
17+
- Reapply feat: add optional update() to SessionDataStore (#2590) [\#2616](https://github.com/auth0/nextjs-auth0/pull/2616) ([Piyush-85](https://github.com/Piyush-85))
18+
19+
**Fixed**
20+
- fix: DPoP nonce retry race issue [\#2580](https://github.com/auth0/nextjs-auth0/pull/2580) ([nandan-bhat](https://github.com/nandan-bhat))
21+
22+
## [v4.17.1](https://github.com/auth0/nextjs-auth0/tree/v4.17.1) (2026-04-16)
23+
[Full Changelog](https://github.com/auth0/nextjs-auth0/compare/v4.17.0...v4.17.1)
24+
25+
**Fixed**
26+
- 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))
27+
- 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))
28+
29+
## [v4.17.0](https://github.com/auth0/nextjs-auth0/tree/v4.17.0) (2026-04-09)
30+
[Full Changelog](https://github.com/auth0/nextjs-auth0/compare/v4.16.2...v4.17.0)
31+
32+
**Added**
33+
- feat: MCD (Multiple Custom Domains) Support [\#2545](https://github.com/auth0/nextjs-auth0/pull/2545) ([tusharpandey13](https://github.com/tusharpandey13))
34+
35+
**Fixed**
36+
- 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))
37+
38+
## [v4.16.2](https://github.com/auth0/nextjs-auth0/tree/v4.16.2) (2026-04-07)
39+
[Full Changelog](https://github.com/auth0/nextjs-auth0/compare/v4.16.1...v4.16.2)
40+
41+
**Fixed**
42+
- fix: Middleware should not throw ERR_JWE_INVALID [\#2546](https://github.com/auth0/nextjs-auth0/pull/2546) ([crob](https://github.com/crob))
43+
- fix: preserve error details from HTTP 5xx OAuth responses [\#2533](https://github.com/auth0/nextjs-auth0/pull/2533) ([sleitor](https://github.com/sleitor))
44+
45+
**Security**
46+
- chore(deps): update eslint to fix flatted vulnerability [\#2575](https://github.com/auth0/nextjs-auth0/pull/2575) ([Piyush-85](https://github.com/Piyush-85))
47+
48+
## [v4.16.1](https://github.com/auth0/nextjs-auth0/tree/v4.16.1) (2026-03-25)
49+
[Full Changelog](https://github.com/auth0/nextjs-auth0/compare/v4.16.0...v4.16.1)
50+
51+
**Fixed**
52+
- fix: make withPageAuthRequired generic to support PageProps/LayoutProps types [\#2529](https://github.com/auth0/nextjs-auth0/pull/2529) ([sleitor](https://github.com/sleitor))
53+
- fix: enable full generic type inference for withPageAuthRequired to correctly propagate PageProps and LayoutProps [\#2550](https://github.com/auth0/nextjs-auth0/pull/2550) ([Piyush-85](https://github.com/Piyush-85))
54+
55+
## [v4.16.0](https://github.com/auth0/nextjs-auth0/tree/v4.16.0) (2026-02-27)
56+
[Full Changelog](https://github.com/auth0/nextjs-auth0/compare/v4.15.0...v4.16.0)
57+
58+
**Added**
59+
- feat: added tokenRefreshBuffer for early access‑token refreshes [\#2508](https://github.com/auth0/nextjs-auth0/pull/2508) ([nandan-bhat](https://github.com/nandan-bhat))
60+
- feat: support allow list for dynamic APP_BASE_URL configuration [\#2538](https://github.com/auth0/nextjs-auth0/pull/2538) ([frederikprijck](https://github.com/frederikprijck))
61+
- feat: Add dynamic app base URL handling [\#2528](https://github.com/auth0/nextjs-auth0/pull/2528) ([nandan-bhat](https://github.com/nandan-bhat))
62+
63+
**Fixed**
64+
- fix: do not strip falsey values from authorization params [\#2526](https://github.com/auth0/nextjs-auth0/pull/2526) ([frederikprijck](https://github.com/frederikprijck))
65+
66+
## [v4.15.0](https://github.com/auth0/nextjs-auth0/tree/v4.15.0) (2026-02-09)
67+
[Full Changelog](https://github.com/auth0/nextjs-auth0/compare/v4.14.1...v4.15.0)
68+
69+
**Added**
70+
- feat: MFA APIs [\#2502](https://github.com/auth0/nextjs-auth0/pull/2502) ([tusharpandey13](https://github.com/tusharpandey13))
71+
- feat: Base MFA support [\#2480](https://github.com/auth0/nextjs-auth0/pull/2480) ([tusharpandey13](https://github.com/tusharpandey13))
72+
- Add TTL to /auth/access-token and optional full client response [\#2505](https://github.com/auth0/nextjs-auth0/pull/2505) ([nandan-bhat](https://github.com/nandan-bhat))
73+
74+
## [v4.14.1](https://github.com/auth0/nextjs-auth0/tree/v4.14.1) (2026-01-24)
75+
[Full Changelog](https://github.com/auth0/nextjs-auth0/compare/v4.14.0...v4.14.1)
76+
77+
**Fixed**
78+
- fix: do not throw ERR_JWE_DECRYPTION_FAILED, but catch it and ignore the cookie. [\#2487](https://github.com/auth0/nextjs-auth0/pull/2487) ([frederikprijck](https://github.com/frederikprijck))
79+
- fix: avoid headers.append error when using getAccessToken with refresh in Next.js 16 proxy [\#2495](https://github.com/auth0/nextjs-auth0/pull/2495) ([nandan-bhat](https://github.com/nandan-bhat))
80+
- fix: removed un-intended class/type exports from the SDK [\#2475](https://github.com/auth0/nextjs-auth0/pull/2475) ([nandan-bhat](https://github.com/nandan-bhat))
81+
382
## [v4.14.0](https://github.com/auth0/nextjs-auth0/tree/v4.14.0) (2025-12-15)
483
[Full Changelog](https://github.com/auth0/nextjs-auth0/compare/v4.13.3...v4.14.0)
584

0 commit comments

Comments
 (0)