Skip to content

Commit 3eb394a

Browse files
authored
Locked @auth0/nextjs-auth0@3 for non-interactive nextjs quickstart (#10513)
* Lock @auth0/nextjs-auth0 to 3 until we can rework non-interactive nextjs quickstart * Fixed a broken url
1 parent 76c61f4 commit 3eb394a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/quickstart/webapp/nextjs/01-login.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ useCase: quickstart
2323
Run the following command within your project directory to install the Auth0 Next.js SDK:
2424

2525
```sh
26-
npm install @auth0/nextjs-auth0
26+
npm install @auth0/nextjs-auth0@3
2727
```
2828

2929
The SDK exposes methods and variables that help you integrate Auth0 with your Next.js application using <a href="https://nextjs.org/docs/app/building-your-application/routing/route-handlers" target="_blank" rel="noreferrer">Route Handlers</a> on the backend and <a href="https://reactjs.org/docs/context.html" target="_blank" rel="noreferrer">React Context</a> with <a href="https://reactjs.org/docs/hooks-overview.html" target="_blank" rel="noreferrer">React Hooks</a> on the frontend.
@@ -50,7 +50,7 @@ The SDK will read these values from the Node.js process environment and automati
5050

5151
### Add the dynamic API route handler
5252

53-
Create a file at `app/api/auth/<a href="https://nextjs.org/docs/app/building-your-application/routing/route-handlers#dynamic-route-segments" target="_blank" rel="noreferrer">auth0/route.js`. This is your Route Handler file with a Dynamic Route Segment</a>.
53+
Create a file at `app/api/auth/[auth0]/route.js`. This is your Route Handler file with a <a href="https://nextjs.org/docs/app/building-your-application/routing/route-handlers#dynamic-route-segments" target="_blank" rel="noreferrer">Dynamic Route Segment</a>.
5454

5555
Then, import the `handleAuth` method from the SDK and call it from the `GET` export.
5656

0 commit comments

Comments
 (0)