Skip to content

Commit db85b3a

Browse files
Merge pull request #262 from auth0/fix/brokenThingsNov12
fix: Changelog and invalid URLs
2 parents 49bb34c + 1975024 commit db85b3a

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

main/docs.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7300,7 +7300,7 @@
73007300
},
73017301
{
73027302
"label": "Changelog",
7303-
"href": "https://auth0.com/docs/deploy/changelog"
7303+
"href": "https://auth0.com/changelog"
73047304
}
73057305
]
73067306
},

main/docs/quickstart/webapp/nextjs/index.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ import {AuthCodeGroup} from "/snippets/AuthCodeGroup.jsx";
169169
export default function LoginButton() {
170170
return (
171171
<a
172-
href="/docs/auth/login"
172+
href="/auth/login"
173173
className="button login"
174174
>
175175
Log In
@@ -184,7 +184,7 @@ import {AuthCodeGroup} from "/snippets/AuthCodeGroup.jsx";
184184
export default function LogoutButton() {
185185
return (
186186
<a
187-
href="/docs/auth/logout"
187+
href="/auth/logout"
188188
className="button logout"
189189
>
190190
Log Out
@@ -817,7 +817,7 @@ This quickstart demonstrates how to add Auth0 authentication to a Next.js applic
817817
export default function LoginButton() {
818818
return (
819819
<a
820-
href="/docs/auth/login"
820+
href="/auth/login"
821821
className="button login"
822822
>
823823
Log In
@@ -833,7 +833,7 @@ This quickstart demonstrates how to add Auth0 authentication to a Next.js applic
833833
export default function LogoutButton() {
834834
return (
835835
<a
836-
href="/docs/auth/logout"
836+
href="/auth/logout"
837837
className="button logout"
838838
>
839839
Log Out
@@ -1217,7 +1217,7 @@ This quickstart demonstrates how to add Auth0 authentication to a Next.js applic
12171217
- **Simplified client setup** - `new Auth0Client()` reads environment variables automatically
12181218
- **New route paths** - Routes are at `/auth/*` instead of `/api/auth/*`
12191219
- **Required middleware** - All authentication functionality goes through middleware
1220-
- **Use `<a>` tags** - Navigation must use `<a href="/docs/auth/login">` instead of buttons with onClick
1220+
- **Use `<a>` tags** - Navigation must use `<a href="/auth/login">` instead of buttons with onClick
12211221

12221222
### Authentication Routes
12231223

main/snippets/quickstart/webapp/nextjs/add-the-landing-page-content.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ export default async function Home() {
1010
if (!session) {
1111
return (
1212
<main>
13-
<a href="/docs/auth/login?screen_hint=signup">
13+
<a href="/auth/login?screen_hint=signup">
1414
<button>Sign up</button>
1515
</a>
16-
<a href="/docs/auth/login">
16+
<a href="/auth/login">
1717
<button>Log in</button>
1818
</a>
1919
</main>
@@ -25,7 +25,7 @@ export default async function Home() {
2525
<main>
2626
<h1>Welcome, {session.user.name}!</h1>
2727
<p>
28-
<a href="/docs/auth/logout">
28+
<a href="/auth/logout">
2929
<button>Log out</button>
3030
</a>
3131
</p>

0 commit comments

Comments
 (0)