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
+12-20Lines changed: 12 additions & 20 deletions
Original file line number
Diff line number
Diff line change
@@ -93,10 +93,8 @@ The SDK auto-configures the following routes:
93
93
-`/auth/access-token`: The route to verify the user's session and return an <ahref="https://auth0.com/docs/secure/tokens/access-tokens"target="_blank"rel="noreferrer">access token</a> (which automatically refreshes if a refresh token is available)
94
94
-`/auth/backchannel-logout`: The route to receive a `logout_token` when a configured Back-Channel Logout initiator occurs
95
95
96
-
To learn more about routing in Auth0, read <ahref="https://auth0.com/blog/auth0-stable-support-for-nextjs-app-router/"target="_blank"rel="noreferrer"> Add the dynamic API route</a>.
97
-
98
96
:::note
99
-
The `/auth/access-token` route is enabled by default. If your clients do not need access tokens, you can disable the route by editing the file `lib/auth0.js` and setting `enableAccessTokenEndpoint` to `false` in the instance of the Auth0 client. :::
97
+
The `/auth/access-token` route is enabled by default, but is only neccessary when the access token is needed on the client-side. If this isn't something you need, you can disable this endpoint by setting `enableAccessTokenEndpoint` to `false`. :::
100
98
101
99
## Add Login to Your Application
102
100
@@ -154,24 +152,18 @@ export default function Profile() {
0 commit comments