Skip to content

Conversation

@frederikprijck
Copy link
Contributor

@frederikprijck frederikprijck commented Mar 27, 2025

This PR updates the sample application to use v4 of the @auth0/nextjs-auth0 SDK.

The most significant change is that the authentication is handled by the middleware now, and we no longer have things such as withApiAuthRequired and withPageAuthRequired.

Additionally, we introduce a lib/auth0 file, which we use to call things such as getSession() and getAccessToken().

Let's first merge #181, then I will rebase this branch to simplify the diff.

@frederikprijck frederikprijck force-pushed the chore/replace-jest-with-vitest branch from 3ed569d to b42aaed Compare March 27, 2025 15:22
Base automatically changed from chore/replace-jest-with-vitest to main March 27, 2025 15:30
@frederikprijck frederikprijck marked this pull request as ready for review March 27, 2025 15:31
@tusharpandey13
Copy link
Contributor

lgtm

@arpit-jn arpit-jn merged commit 5a7cde6 into main Mar 28, 2025
4 of 5 checks passed
@arpit-jn arpit-jn deleted the chore/bump-auth0 branch March 28, 2025 10:38
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.

4 participants