GitBook
gitbook.com › solutions › visitor-authentication
GitBook Visitor Auth – Publish protected docs for authorized users only
Keep your docs secure from competitors and hackers — and only give access to the authorized people who need it. Visitor authentication in GitBook keeps your docs protected.
GitBook
docs.gitbook.com › publishing-documentation › visitor-authentication
Visitor authentication | GitBook Documentation
March 20, 2025 - Visitor authentication allows you to publish your content while requiring authentication from any visitors who want to view it. When enabled, GitBook lets your authentication provider handle who has access to the content.
Gitbook
developer.gitbook.com › getting-started › guides › implement-visitor-authentication-using-node
Implement Visitor Authentication using Node - GitBook Integration Platform
When someone directly accesses your space without the necessary token, GitBook uses the fallback URL to redirect the visitor to a custom URL so that you can authenticate them.
GitBook
gitbook.com › docs › publishing-documentation › visitor-authentication › setting-up-oidc
Setting up OIDC | GitBook Documentation
March 25, 2025 - So, entering the least permissive scope is the best security recommendation. ... Now, in GitBook, close the integrations modal and click on the Manage site button. Navigate to Audience, select Visitor Authentication, and choose OIDC as the backend.
GitBook
docs.gitbook.com › developers › visitor-authentication › integrations › how-to-use-auth0-integration-for-visitor-authentication
How to use Auth0 Integration for Visitor Authentication | GitBook Documentation
December 13, 2024 - Now, in GitBook, close the integrations modal and click on the Manage site button. Navigate to Audience, select Visitor Authentication, and choose Auth0 as the backend. and click Update audience. Go to the site's screen and click Publish.
GitBook
gitbook.com › docs › site-access › authenticated-access › setting-up-a-custom-backend
Setting up a custom backend | GitBook Documentation
June 3, 2026 - To setup a custom authentication system for your GitBook site, follow these key steps: ... Implement a backend that prompts users to login and authenticate them. ... Create a JWT token and sign it with your site’s private key.
GitBook
docs.gitbook.com › publishing-documentation › visitor-authentication › setting-up-a-custom-backend
Setting up a custom backend | GitBook Documentation
April 10, 2025 - To setup a custom authentication system for your GitBook site, follow these key steps: ... Implement a backend that prompts users to login and authenticate them. ... Create a JWT token and sign it with your site’s private key.
Starred by 10 users
Forked by 3 users
Languages: JavaScript 100.0% | JavaScript 100.0%
GitBook
gitbook.com › docs › publishing-documentation › embedding › using-with-authenticated-docs
Authentication | GitBook Documentation
December 5, 2025 - When a user signs in to your authenticated docs, GitBook stores a visitor token in their browser cookies under the key gitbook-visitor-token.
GitBook
docs.gitbook.com › developers › visitor-authentication › custom-backend › implement-visitor-authentication-using-next.js-and-clerk
Implement Visitor Authentication using Next.js and Clerk | GitBook Documentation
October 11, 2023 - Now that we have our configuration completed, we can run and test the Visitor Authentication flow. If you try to visit your published GitBook site direclty, you'll be met with a 401 screen—But if we go through the Visitor Authentication flow, we'll be able to access the site without a problem.
GitBook
docs.gitbook.com › developers › visitor-authentication › custom-backend
Custom Backend | GitBook Documentation
Implement Visitor Authentication using NodeImplement Visitor Authentication using Next.js and ClerkImplement Visitor Authentication using Node and Auth0Implement Visitor Authentication using Node and OktaImplement Visitor Authentication using Node and Azure AD
Stack Overflow
stackoverflow.com › questions › 44310434 › how-can-one-manage-the-access-of-a-book-created-using-gitbook
authentication - How can one manage the access of a book created using GitBook? - Stack Overflow
So in your case, providing your book is private (private GitHub repo), an access key is a solution, but you cannot easily control the set of people using it; ie: you can only control the set you are giving the token to. So that means you have to provide your own front-end, with user account management, in order to give access to the book. But GitBook itself does not have such mechanism.
GitBook
gitbook.com › docs › guides › docs-personalization-and-authentication › how-to-personalize-your-gitbook-site-using-auth0-and-adaptive-content
How to personalize your GitBook site using Auth0 and adaptive content | Guides | GitBook Documentation
December 17, 2025 - GitBook will generate a visitor signing key — you won’t need it for Auth0, but it’s good to keep track of.