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
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Goals
Non-Goals
Background
Currently, the experimental forbidden pages feature doesn't support metadata configuration, which limits:
Many applications need custom titles and descriptions for forbidden pages to explain why access is restricted and guide users to appropriate actions.
Proposal
Add support for metadata configuration in forbidden pages similar to other Next.js pages:
Example usage:
export const metadata = {
title: "Access Restricted",
description: "This content requires special permissions"
}
Beta Was this translation helpful? Give feedback.
All reactions