mirror of
https://github.com/mintlify/docs.git
synced 2026-09-14 13:35:46 +08:00
46d45b8a95
* add auth keyword to auth pages * undo format
26 lines
879 B
Plaintext
26 lines
879 B
Plaintext
---
|
|
title: "Partial authentication setup"
|
|
description: "Control access to specific pages"
|
|
icon: "file-lock-2"
|
|
keywords: ["auth"]
|
|
---
|
|
|
|
Partial authentication lets you protect private documentation while keeping other pages publicly viewable. Users can browse public content freely and authenticate only when accessing protected pages.
|
|
|
|
Partial authentication shares all the same features as authentication, but with the ability to allow unauthenticated users to view certain pages.
|
|
|
|
## Setup
|
|
|
|
Follow the [Authentication Setup](/authentication-personalization/authentication-setup) guide and select **Partial Authentication** when configuring your chosen handshake method.
|
|
|
|
## Making pages public
|
|
|
|
By default, all pages are protected. Add the `public` property to the page's frontmatter to make it viewable without authentication:
|
|
|
|
```mdx
|
|
---
|
|
title: "My Page"
|
|
public: true
|
|
---
|
|
```
|