You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/quickstart/webapp/nextjs/01-login.md
-37
Original file line number
Diff line number
Diff line change
@@ -195,43 +195,6 @@ export default async function ProfileServer() {
195
195
Verify that you can display the `user.name` or <ahref="https://auth0.com/docs/users/user-profile-structure#user-profile-attributes"target="_blank"rel="noreferrer">any other</a> `user` property within a component correctly after you have logged in.
196
196
:::
197
197
198
-
### Create custom routes using the dynamic API route handler
199
-
200
-
Create the file at `app/api/shows/route.js`. This is your route Handler file using <ahref="https://nextjs.org/docs/app/building-your-application/routing/route-handlers#dynamic-route-segments"target="_blank"rel="noreferrer">Dynamic Route Segment</a>. The file declares a `GET` export to call the `shows()` method from the SDK to create custom API routes. import the `handleAuth` method from the SDK and call it from the `GET` export.
We put together a few <ahref="https://github.com/auth0/nextjs-auth0/blob/main/EXAMPLES.md"target="_blank"rel="noreferrer">examples</a> on how to use <ahref="https://github.com/auth0/nextjs-auth0"target="_blank"rel="noreferrer">nextjs-auth0</a> for more advanced use cases.
0 commit comments