Unverified Commit bce5afe8 authored by Delba de Oliveira's avatar Delba de Oliveira Committed by GitHub

Docs IA 2.0: Move authentication page under `guides` (#78412)

Closes: https://linear.app/vercel/issue/DOC-4574/authentication
Redirects: https://github.com/vercel/front/pull/44449
parent 74d999e0
--- ---
title: Authentication title: How to implement authentication in Next.js
nav_title: Authentication
description: Learn how to implement authentication in your Next.js application. description: Learn how to implement authentication in your Next.js application.
--- ---
......
...@@ -43,10 +43,10 @@ description: Learn how to implement common UI patterns and use cases using Next. ...@@ -43,10 +43,10 @@ description: Learn how to implement common UI patterns and use cases using Next.
### Auth ### Auth
- [Creating a sign-up form](/docs/app/building-your-application/authentication#sign-up-and-login-functionality) - [Creating a sign-up form](/docs/app/guides/authentication#sign-up-and-login-functionality)
- [Stateless, cookie-based session management](/docs/app/building-your-application/authentication#stateless-sessions) - [Stateless, cookie-based session management](/docs/app/guides/authentication#stateless-sessions)
- [Stateful, database-backed session management](/docs/app/building-your-application/authentication#database-sessions) - [Stateful, database-backed session management](/docs/app/guides/authentication#database-sessions)
- [Managing authorization](/docs/app/building-your-application/authentication#authorization) - [Managing authorization](/docs/app/guides/authentication#authorization)
### Testing ### Testing
......
--- ---
title: Authentication title: How to implement authentication in Next.js
nav_title: Authentication
description: Learn how to implement authentication in Next.js, covering best practices, securing routes, authorization techniques, and session management. description: Learn how to implement authentication in Next.js, covering best practices, securing routes, authorization techniques, and session management.
source: app/building-your-application/authentication source: app/guides/authentication
--- ---
{/* DO NOT EDIT. The content of this doc is generated from the source above. To edit the content of this page, navigate to the source page in your editor. You can use the `<PagesOnly>Content</PagesOnly>` component to add content that is specific to the Pages Router. Any shared content should not be wrapped in a component. */} {/* DO NOT EDIT. The content of this doc is generated from the source above. To edit the content of this page, navigate to the source page in your editor. You can use the `<PagesOnly>Content</PagesOnly>` component to add content that is specific to the Pages Router. Any shared content should not be wrapped in a component. */}
...@@ -101,7 +101,7 @@ export default function Page() { ...@@ -101,7 +101,7 @@ export default function Page() {
} }
``` ```
Redirecting the user to `pages/login.js`, useful for pages behind [authentication](/docs/pages/building-your-application/authentication): Redirecting the user to `pages/login.js`, useful for pages behind [authentication](/docs/pages/guides/authentication):
```jsx ```jsx
import { useEffect } from 'react' import { useEffect } from 'react'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment