Skip to content

Commit ff31bea

Browse files
docs: add password protection authentication documentation
Co-Authored-By: Fern Support <info@buildwithfern.com>
1 parent efd8109 commit ff31bea

File tree

3 files changed

+26
-5
lines changed

3 files changed

+26
-5
lines changed

fern/products/docs/docs.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -299,6 +299,8 @@ navigation:
299299
path: ./pages/api-references/autopopulate-api-key.mdx
300300
- page: SSO
301301
path: ./pages/authentication/sso.mdx
302+
- page: Password protection
303+
path: ./pages/authentication/password.mdx
302304
- section: Security
303305
collapsed: true
304306
contents:

fern/products/docs/pages/authentication/overview.mdx

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,17 @@ Learn how Fern handles user credentials and authentication in the [Security over
1717

1818
Learn more about Fern's authentication options:
1919

20-
<CardGroup cols={3}>
21-
<Card title="Role-based access control" icon="fa-duotone fa-people-group" href="/docs/authentication/rbac">
20+
<CardGroup cols={2}>
21+
<Card title="Role-based access control" icon="fa-duotone fa-people-group" href="/learn/docs/authentication/rbac">
2222
Granular access for different audiences
2323
</Card>
24-
<Card title="API Key Injection" icon="fa-duotone fa-key" href="/docs/authentication/api-key-injection">
24+
<Card title="API key injection" icon="fa-duotone fa-key" href="/learn/docs/authentication/api-key-injection">
2525
JWT or OAuth flows available
2626
</Card>
27-
<Card title="SSO" icon="fa-duotone fa-user-check" href="/docs/authentication/sso">
27+
<Card title="SSO" icon="fa-duotone fa-user-check" href="/learn/docs/authentication/sso">
2828
Basic functionality and simple setup
2929
</Card>
30-
</CardGroup>
30+
<Card title="Password protection" icon="fa-duotone fa-lock" href="/learn/docs/authentication/password">
31+
Shared password for simple access control
32+
</Card>
33+
</CardGroup>
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
title: Password protection
3+
subtitle: Protect your documentation site with a shared password for simple access control.
4+
---
5+
6+
<Markdown src="/snippets/enterprise-plan.mdx"/>
7+
8+
Password protection allows you to restrict access to your documentation site using a shared password. This is useful for pre-release documentation, internal resources, or any content you want to keep private without requiring individual user accounts.
9+
10+
## How it works
11+
12+
When password protection is enabled, visitors to your documentation site are prompted to enter a password before they can view any content. Once authenticated, users can browse the site freely until their session expires.
13+
14+
## Setting up password protection
15+
16+
To enable password protection for your documentation site, [contact our team](https://buildwithfern.com/contact) or reach out via Slack. Fern will configure the password for your site.

0 commit comments

Comments
 (0)