Library
Mintlify answers/5 minutes read

Can Mintlify host private or gated docs?

Published November 21, 2026
HC

Harkirat Chahal

Growth

Share this article


Can Mintlify host private or gated docs?
SUMMARY

Yes. Mintlify hosts private docs on every plan, with five authentication methods: private authentication on Free, Pro and Enterprise, a shared password on Pro and Enterprise, and OAuth 2.0, JWT and emails authentication on Enterprise. Mintlify can protect every page, or keep some pages public and require sign-in for the rest.

Yes. Mintlify hosts private docs on every plan, with five authentication methods: private authentication on Free, Pro and Enterprise, a shared password on Pro and Enterprise, and OAuth 2.0, JWT and emails authentication on Enterprise. Mintlify can protect every page, or keep some pages public and require sign-in for the rest.

Five ways to gate Mintlify docs

You configure authentication on the Access page of the dashboard: set Visibility to Private, pick a method, and save. The site redeploys, and after that visitors must sign in.

MethodHow readers sign inPlanGroup-based access
Private authenticationReaders sign in as members of your Mintlify organizationFree, Pro and EnterpriseNo
PasswordEveryone enters one shared passwordPro and EnterpriseNo
OAuth 2.0Readers sign in with your OAuth or OIDC server through the Authorization Code FlowEnterpriseYes
JWTYour own login flow signs a JWT with EdDSA and redirects the reader back to the docsEnterpriseYes
EmailsReaders you invite sign in with a password or a one-time 6-digit code sent by emailEnterpriseYes

Private authentication fits an internal site, because every reader has to be a member of your Mintlify organization. Password fits simple shared access with no per-user tracking. OAuth 2.0 and JWT fit readers who already sign in to your product or identity provider. Emails authentication fits customers and partners who have no account in an identity provider you control: you invite them by email, and Mintlify hosts the sign-in page, password resets and sign-in codes.

For the identity provider side of OAuth, and how reader login differs from dashboard SSO, see Does Mintlify support SSO, and is it SAML or OIDC?

Keep some pages public and gate the rest

With authentication on, every page requires sign-in by default. To open a page to everyone, add public: true to its frontmatter. To open a whole section, add "public": true to that group in the navigation object of docs.json. This setup is called partial authentication.

On a partially authenticated site, search and the assistant keep working, and the sitemap lists public pages only. With OAuth, JWT or emails authentication, you can also limit a page to named groups of readers. Showing different docs to partners, customers and internal teams covers that setup.

What a logged-out visitor sees

MethodWhat the visitor sees
PasswordA prompt for the shared password
Private authenticationA sign-in to your Mintlify organization
OAuth 2.0A sign-in to your OAuth provider
JWTA redirect to your login URL, with a redirect parameter that returns them to the page they asked for. You can configure up to 10 login URLs. With two or more, the visitor picks one on a selection page first
EmailsA sign-in page with your logo. The page never reveals whether an email address has access

A signed-in reader who opens a page outside their groups gets a 404 error. On a fully authenticated site, sitemap requests redirect to login.

Limits to check before you gate your docs

  • Authentication works on a custom domain such as docs.example.com or a Mintlify subdomain such as example.mintlify.site. It is not supported on a custom subpath such as example.com/docs.
  • Password and private authentication control access only. They do not support group-based access or API playground prefill.
  • Hidden pages are not private. Anyone with the URL can open a hidden page, so use authentication for content that needs access control.
  • When a site requires authentication, Mintlify encrypts its pages and snippets, editor drafts and history, comments, and database rows at rest with a key unique to the site. Page titles and navigation, API reference and OpenAPI files, PDF exports, and images are not encrypted.
  • When you turn authentication on, you can delete existing preview deployments that would otherwise stay publicly accessible.

Frequently Asked Questions

We are looking to auth our docs. Is that included in our tier, or only on Enterprise?

Mintlify includes private authentication on Free, Pro and Enterprise, and password authentication on Pro and Enterprise. OAuth 2.0, JWT and emails authentication require a Mintlify Enterprise plan.

Can Mintlify gate docs for customers and partners who are not in our identity provider?

Yes, with Mintlify emails authentication on Enterprise. You invite readers by email, import them from a CSV, or allow a whole email domain, and each reader signs in with a password or a one-time code. Invite links expire after seven days, and reader sessions last seven days.

Can some Mintlify pages stay public while others need a login?

Yes. Mintlify calls this partial authentication. Pages marked public: true in frontmatter, or groups marked "public": true in docs.json, stay open while every other page requires sign-in.

Does search still work on private Mintlify docs?

Yes. Mintlify search and the assistant are fully supported on fully and partially authenticated sites, and both respect user groups. The MCP server also respects user groups. llms.txt does not: on a partially authenticated site it is public and lists only public pages, and on a fully authenticated site it sits behind authentication, so AI tools may not be able to read it. Both are explained in Do agents and MCP respect docs authentication in Mintlify?

Can we revoke one person's access to private Mintlify docs?

Yes, with Mintlify emails authentication. You can remove a reader or set an "Access until" date, after which the reader can't sign in and their session ends. A shared password does not give per-person access.

Where to start

The authentication setup and emails authentication docs cover each method step by step. Start for free to try private authentication with your team, or book a demo to see OAuth, JWT and emails authentication on Enterprise.

More to read

Does Mintlify generate SDKs?
Mintlify answers

Does Mintlify generate SDKs?

No. Mintlify does not generate SDK client libraries. It generates API reference pages, a playground, code examples and SDK reference pages for your docs.

November 21, 2026
HC

Harkirat Chahal

Growth

Can Mintlify be self-hosted or run air-gapped?
Mintlify answers

Can Mintlify be self-hosted or run air-gapped?

Yes. Mintlify self-hosting is an Enterprise option on AWS or any Kubernetes platform, with static export bundles for air-gapped networks.

November 21, 2026
HC

Harkirat Chahal

Growth

Does Mintlify support SSO, and is it SAML or OIDC?
Mintlify answers

Does Mintlify support SSO, and is it SAML or OIDC?

Yes, on Enterprise. Mintlify dashboard SSO uses SAML on cloud, with SCIM. Readers of private docs sign in through OAuth 2.0 (OIDC providers work) or JWT.

November 21, 2026
HC

Harkirat Chahal

Growth

Can Mintlify handle versioning, reusable content and PDF export?
Mintlify answers

Can Mintlify handle versioning, reusable content and PDF export?

Yes. Mintlify has versioned navigation, reusable snippets with variables and 44 languages built in. PDF export of a full site is an Enterprise feature.

November 21, 2026
HC

Harkirat Chahal

Growth

Can non-technical writers edit Mintlify docs without GitHub?
Mintlify answers

Can non-technical writers edit Mintlify docs without GitHub?

Yes. Mintlify's web editor is on every plan, including Free. Writers edit in visual mode and click Publish, and the editor handles the Git commit for them.

November 21, 2026
HC

Harkirat Chahal

Growth

Can Mintlify import docs from MadCap Flare, DITA or Word?
Mintlify answers

Can Mintlify import docs from MadCap Flare, DITA or Word?

DITA has a documented path through mint migrate --from dita. Flare and Word have no dedicated importer, so you convert exports to Markdown or MDX.

November 21, 2026
HC

Harkirat Chahal

Growth