@@ -455,7 +455,7 @@ In middleware, the `getAccessToken(req, res)` helper can be used to get an acces
455455``` tsx
456456import { NextRequest , NextResponse } from " next/server"
457457
458- import { auth0 } from " @ /lib/auth0"
458+ import { auth0 } from " . /lib/auth0" // Adjust path if your auth0 client is elsewhere
459459
460460export async function middleware(request : NextRequest ) {
461461 const authRes = await auth0 .middleware (request )
@@ -486,7 +486,7 @@ If you are using the Pages Router and are calling the `getAccessToken` method in
486486``` ts
487487import { NextRequest , NextResponse } from " next/server"
488488
489- import { auth0 } from " @ /lib/auth0"
489+ import { auth0 } from " . /lib/auth0" // Adjust path if your auth0 client is elsewhere
490490
491491export async function middleware(request : NextRequest ) {
492492 const authRes = await auth0 .middleware (request )
@@ -589,7 +589,7 @@ You can wrap your components in an `<Auth0Provider />` and pass an initial user
589589``` tsx
590590import { Auth0Provider } from " @auth0/nextjs-auth0"
591591
592- import { auth0 } from " @ /lib/auth0"
592+ import { auth0 } from " . /lib/auth0" // Adjust path if your auth0 client is elsewhere
593593
594594export default async function RootLayout({
595595 children ,
@@ -991,7 +991,7 @@ For example:
991991``` ts
992992import { NextResponse } from " next/server"
993993
994- import { auth0 } from " @ /lib/auth0"
994+ import { auth0 } from " . /lib/auth0" // Adjust path if your auth0 client is elsewhere
995995
996996export async function GET() {
997997 try {
@@ -1016,7 +1016,7 @@ On the server, the `getAccessTokenForConnection({}, req, res)` helper can be use
10161016``` ts
10171017import type { NextApiRequest , NextApiResponse } from " next"
10181018
1019- import { auth0 } from " @ /lib/auth0"
1019+ import { auth0 } from " . /lib/auth0" // Adjust path if your auth0 client is elsewhere
10201020
10211021export default async function handler(
10221022 req : NextApiRequest ,
@@ -1039,7 +1039,7 @@ In middleware, the `getAccessTokenForConnection({}, req, res)` helper can be use
10391039``` tsx
10401040import { NextRequest , NextResponse } from " next/server"
10411041
1042- import { auth0 } from " @ /lib/auth0"
1042+ import { auth0 } from " . /lib/auth0" // Adjust path if your auth0 client is elsewhere
10431043
10441044export async function middleware(request : NextRequest ) {
10451045 const authRes = await auth0 .middleware (request )
@@ -1070,7 +1070,7 @@ If you are using the Pages Router and are calling the `getAccessTokenForConnecti
10701070``` ts
10711071import { NextRequest , NextResponse } from " next/server"
10721072
1073- import { auth0 } from " @ /lib/auth0"
1073+ import { auth0 } from " . /lib/auth0" // Adjust path if your auth0 client is elsewhere
10741074
10751075export async function middleware(request : NextRequest ) {
10761076 const authRes = await auth0 .middleware (request )
0 commit comments