🌐
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.
🌐
GitHub
github.com › swisstxt › gitbook-visitor-authenticator
GitHub - swisstxt/gitbook-visitor-authenticator
Used to authenticate and authorize AzureAD users to GitBook Spaces with the Visitor Authenticator Feature.
Author: swisstxt
🌐
Gitbook
developer.gitbook.com › visitor-authentication › guides › custom-backend › implement-visitor-authentication-using-node
Implement Visitor Authentication using Node | GitBook Developer Documentation
May 23, 2024 - 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-auth0
Setting up Auth0 | GitBook Documentation
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
Authenticated access | GitBook Documentation
April 23, 2026 - GitBook gives you built-in URLs ... such as a header link on your site. When a visitor opens the login URL, GitBook redirects them to the authentication backend configured for that site....
🌐
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.
Find elsewhere
🌐
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.