Skip to content

Commit

Permalink
15.1 docs: Add experimental tags to forbidden and unauthorized AP…
Browse files Browse the repository at this point in the history
…Is (vercel#73513)

**Do not merge until 15.1 is released.** 

Currently these features are tagged as `canary`, but once 15.1 becomes
stable, they'll be `experimental`.

Closes:
https://linear.app/vercel/issue/DOC-3928/update-forbidden-docs-to-add-experimental-tag
  • Loading branch information
delbaoliveira authored Dec 10, 2024
1 parent f8d7fac commit b097d10
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: API reference for the forbidden.js special file.
related:
links:
- app/api-reference/functions/forbidden
version: canary
version: experimental
---

The **forbidden** file is used to render UI when the [`forbidden`](/docs/app/api-reference/functions/forbidden) function is invoked during authentication. Along with allowing you to customize the UI, Next.js will return a `403` status code.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: API reference for the unauthorized.js special file.
related:
links:
- app/api-reference/functions/unauthorized
version: canary
version: experimental
---

The **unauthorized** file is used to render UI when the [`unauthorized`](/docs/app/api-reference/functions/unauthorized) function is invoked during authentication. Along with allowing you to customize the UI, Next.js will return a `401` status code.
Expand Down
2 changes: 1 addition & 1 deletion docs/01-app/03-api-reference/04-functions/forbidden.mdx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: forbidden
description: API Reference for the forbidden function.
version: canary
version: experimental
related:
links:
- app/api-reference/file-conventions/forbidden
Expand Down
2 changes: 1 addition & 1 deletion docs/01-app/03-api-reference/04-functions/unauthorized.mdx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: unauthorized
description: API Reference for the unauthorized function.
version: canary
version: experimental
related:
links:
- app/api-reference/file-conventions/unauthorized
Expand Down

0 comments on commit b097d10

Please sign in to comment.