Skip to content

Commit e2ce014

Browse files
authored
Update typos interactive.md (#10490)
* Update typos interactive.md src/lib/auth0.js static files * Update interactive.md One more typo found auth0.getSession()
1 parent 4077d3d commit e2ce014

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

articles/quickstart/webapp/nextjs/interactive.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ The SDK will read these values from the Node.js process environment and automati
5454

5555
## Create the Auth0 SDK Client {{{ data-action=code data-code="src/lib/auth0.ts" }}}
5656

57-
Create a file at `src/lib.auth0.ts`. This file provides methods for handling authentication, sessions and user data.
57+
Create a file at `src/lib/auth0.ts`. This file provides methods for handling authentication, sessions and user data.
5858

5959
Then, import the `Auth0Client` class from the SDK to create an instance and export it as `auth0`. This instance is used in your app to interact with Auth0.
6060

@@ -67,13 +67,13 @@ The Next.js Middleware allows you to run code before a request is completed.
6767
Create a file at `src/middleware.ts`. This file is used to enforce authentication on specific routes.
6868

6969
The `middleware` function intercepts incoming requests and applies Auth0's authentication logic.
70-
The `matcher` configuration ensures that the middleware runs on all routes except for statis files and metadata.
70+
The `matcher` configuration ensures that the middleware runs on all routes except for static files and metadata.
7171

7272
## Add the Landing Page Content {{{ data-action=code data-code="src/app/page.tsx" }}}
7373

7474
The Landing page `src/app/page.tsx` is where users interact with your app. It displays different content based on whether the users is logged in or not.
7575

76-
Edit the file `src/app/page.tsx` to add the `auht0.getSession()` method to determine if the user is logged in by retrieving the user session.
76+
Edit the file `src/app/page.tsx` to add the `auth0.getSession()` method to determine if the user is logged in by retrieving the user session.
7777

7878
If there is no user session, the method returns `null` and the app displays the **Sign up** or **Log in** buttons.
7979
If a user sessions exists, the app displays a welcome message with the user's name and a **Log out** button.

0 commit comments

Comments
 (0)