Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge v4 changes to main #1912

Merged
merged 51 commits into from
Feb 13, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
4d398b2
chore: clean slate for v4
guabu Feb 7, 2025
13841df
Initial commit
guabu Oct 21, 2024
c308119
Release v4.0.0-alpha.0
gyaneshgouraw-okta Oct 22, 2024
38c02a6
Updating LICENSE and package-lock.json
nandan-bhat Oct 23, 2024
e4588f3
4.0.0-beta.0 (#1788)
guabu Nov 5, 2024
0932b88
fix: ESM imports for Pages router (#1798)
guabu Nov 11, 2024
e7f7287
Bumping up the version | Resolving NPM package issue (#1799)
nandan-bhat Nov 11, 2024
ec60fc7
4.0.0-beta.3 (#1800)
guabu Nov 14, 2024
04cc436
4.0.0-beta.4 (#1807)
guabu Nov 19, 2024
14561b8
Bumping up the version
nandan-bhat Nov 19, 2024
9f274f4
Bumping up the version
nandan-bhat Nov 19, 2024
9145f63
Updating README.md with correct version
nandan-bhat Nov 19, 2024
a2a23a9
4.0.0-beta.8 (#1811)
guabu Nov 25, 2024
0ecd7fb
4.0.0-beta.9 (#1827)
guabu Dec 3, 2024
8539d17
4.0.0-beta.10 (#1833)
guabu Dec 10, 2024
0bf9064
4.0.0-beta.11 (#1845)
guabu Dec 17, 2024
7b684ee
4.0.0-beta.12 (#1848)
guabu Dec 18, 2024
2900c91
4.0.0-beta.13 (#1850)
guabu Dec 20, 2024
69a1e43
4.0.0-beta.14 (#1858)
guabu Jan 6, 2025
708bd3b
chore: add telemetry and options to disable (#1864)
guabu Jan 16, 2025
9120e43
chore: reduce session lifetime defaults (#1869)
guabu Jan 27, 2025
c1a7d44
fix: persist access token scope in tokenset (#1870)
guabu Jan 27, 2025
4749ee1
chore: in-memory cache for authorization server metadata
guabu Jan 27, 2025
4dee60c
Release 4.0.0 (#1873)
nandan-bhat Jan 30, 2025
65e54fa
feat: allow configuring cookie name and samesite attribute (#1872)
guabu Jan 31, 2025
6373290
Adding workflow files (#1888)
nandan-bhat Feb 10, 2025
bcb2fb4
chore: add markdown files and align structure with convention
guabu Feb 10, 2025
b34e33f
apply feedback
guabu Feb 10, 2025
a804efb
re-add older migration guides
guabu Feb 10, 2025
90af71b
fix: do not forward custom params from query when using PAR
guabu Feb 10, 2025
f3f8baf
add test for configured params
guabu Feb 10, 2025
bd07cb5
chore: prevent open redirect with returnTo
guabu Feb 11, 2025
06fe026
revert pnpm lock
guabu Feb 11, 2025
25f8399
chore: wire up lint to ci
guabu Feb 11, 2025
f2133b4
chore: update lint workflow
guabu Feb 11, 2025
c58fcac
chore: address react version warning
guabu Feb 11, 2025
79da279
chore: cleanup pnpm lock formatting
guabu Feb 11, 2025
e063455
chore: CodeQL fix
guabu Feb 11, 2025
26c4aab
chore: ensure example use latest version
frederikprijck Feb 11, 2025
08c7185
4.0.1
nandan-bhat Feb 12, 2025
1781d42
Release v4.0.1 (#1900)
nandan-bhat Feb 12, 2025
ee26dbe
Fixing broken workflow `rl secure` (#1901)
nandan-bhat Feb 12, 2025
ee895d3
Fix: Changing the SDK version in auth-client.ts (#1902)
nandan-bhat Feb 12, 2025
f4cb0b4
fix: Fixing the action `npm-publish` (#1903)
nandan-bhat Feb 12, 2025
d26d3ec
Fix: fixing release workflow (#1904)
nandan-bhat Feb 12, 2025
237296c
fix: Fix npm token issue using pnpm (#1905)
nandan-bhat Feb 12, 2025
5128769
Adding initial docs setup (#1892)
nandan-bhat Feb 12, 2025
d68f978
Reverting the changes made for release on v4 (#1907)
nandan-bhat Feb 12, 2025
fd9d9ac
Testing playwright workflow (#1909)
nandan-bhat Feb 12, 2025
0f345a9
fix: Fixing broken coverage pipeline (#1910)
nandan-bhat Feb 12, 2025
7b0b673
Add support for Federated Connection Access Token (#1911)
frederikprijck Feb 13, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
22 changes: 0 additions & 22 deletions .editorconfig

This file was deleted.

51 changes: 0 additions & 51 deletions .eslintrc

This file was deleted.

14 changes: 7 additions & 7 deletions .github/actions/build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ inputs:
node:
description: The Node version to use
required: false
default: 18
default: 22

runs:
using: composite
Expand All @@ -14,17 +14,17 @@ runs:
- uses: actions/setup-node@v3
with:
node-version: ${{ inputs.node }}
cache: npm
cache: pnpm

- shell: bash
run: npm ci
env:
NODE_ENV: development
run: |
npm i -g pnpm
pnpm --version # Verify installation

- shell: bash
run: npm run install:example
run: pnpm install
env:
NODE_ENV: development

- shell: bash
run: npm run build
run: pnpm run build
22 changes: 14 additions & 8 deletions .github/actions/npm-publish/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,21 +19,25 @@ runs:
- name: Checkout code
uses: actions/checkout@v4

- name: Setup Node
- name: Setup Node.js with pnpm caching
uses: pnpm/action-setup@v4
with:
version: 10

- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ inputs.node-version }}
cache: 'npm'
registry-url: 'https://registry.npmjs.org'
node-version: 22
cache: 'pnpm'

- name: Install dependencies
shell: bash
run: npm ci --include=dev
run: pnpm install --frozen-lockfile

- name: Build package
if: inputs.require-build == 'true'
shell: bash
run: npm run build
run: pnpm run build

- name: Publish release to NPM
shell: bash
Expand All @@ -46,7 +50,9 @@ runs:
else
TAG="latest"
fi
npm publish --provenance --tag $TAG
npm config set "//registry.npmjs.org/:_authToken" "${NPM_TOKEN}"
pnpm publish --tag $TAG
env:
NODE_AUTH_TOKEN: ${{ inputs.npm-token }}
NPM_TOKEN: ${{ inputs.npm-token }}
VERSION: ${{ inputs.version }}
NPM_CONFIG_PROVENANCE: true
24 changes: 13 additions & 11 deletions .github/actions/prepare/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,23 @@ inputs:
node:
description: The Node version to use
required: false
default: 18
default: 22
cache:
description: The cache key identifier to use
required: true
description: The cache key identifier to use
required: true

runs:
using: composite

steps:
- uses: actions/setup-node@v3
with:
node-version: ${{ inputs.node }}
cache: npm
- name: Setup Node.js with pnpm caching
uses: actions/setup-node@v4
with:
node-version: ${{ inputs.node }}
cache: 'pnpm'

- uses: actions/cache/restore@v3
with:
path: .
key: ${{ inputs.cache }}
- name: Restore cache manually
uses: actions/cache/restore@v4
with:
path: .
key: ${{ inputs.cache }}
49 changes: 0 additions & 49 deletions .github/workflows/browserstack.yml

This file was deleted.

34 changes: 34 additions & 0 deletions .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Playwright Tests
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]
jobs:
test:
if: false # Disable this job temporarily. TODO: Fix this workflow
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: lts/*
- name: Install dependencies
run: npm install -g pnpm && pnpm install
- name: Install Playwright Browsers
run: pnpm exec playwright install --with-deps

- name: Run build step
uses: ./.github/actions/build
with:
node: 22

- name: Run Playwright tests
run: pnpm exec playwright test
- uses: actions/upload-artifact@v4
if: ${{ !cancelled() }}
with:
name: playwright-report
path: playwright-report/
retention-days: 30
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
rl-scanner:
uses: ./.github/workflows/rl-secure.yml
with:
node-version: 18 ## depends if build requires node else we can remove this.
node-version: 22 ## Updated to Node.js 22
artifact-name: 'nextjs-auth0.tgz' ## Will change respective to Repository
secrets:
RLSECURE_LICENSE: ${{ secrets.RLSECURE_LICENSE }}
Expand All @@ -32,7 +32,7 @@ jobs:
uses: ./.github/workflows/npm-release.yml
needs: rl-scanner ## this is important as this will not let release job to run until rl-scanner is done
with:
node-version: 18
node-version: 22 ## Updated to Node.js 22
require-build: false
secrets:
npm-token: ${{ secrets.NPM_TOKEN }}
Expand Down
14 changes: 14 additions & 0 deletions .github/workflows/rl-secure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,20 @@ jobs:
with:
fetch-depth: 0

- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 10

- name: Setup Node.js with pnpm caching
uses: actions/setup-node@v4
with:
node-version: ${{ inputs.node-version }}
cache: "pnpm"

- name: Install dependencies
run: pnpm install --frozen-lockfile

- name: Build package
uses: ./.github/actions/build
with:
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/snyk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,14 @@ jobs:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha || github.ref }}

- name: Setup pnpm
uses: pnpm/action-setup@v4 # docs https://pnpm.io/continuous-integration#github-actions
with:
version: 10

- shell: bash
run: pnpm i

- uses: snyk/actions/node@b98d498629f1c368650224d6d212bf7dfa89e4bf # [email protected]
env:
Expand Down
Loading