# Gitbook

#### **Integrating GitBook with JFW for Authentication**

GitBook is a popular documentation platform. To provide secure access to your documentation, you can integrate **JFW** for authentication.

<details>

<summary>GitBook</summary>

{% hint style="danger" %}
Waiting for the approve from GitBook (Mar 2025)
{% endhint %}

#### **Why Use JFW with GitBook?**

✔ **SSO (Single Sign-On):** Let users log in with their **Google, Microsoft, GitHub, etc.**\
✔ **Role-Based Access Control (RBAC):** Restrict access to certain users.\
✔ **Multi-Factor Authentication (MFA):** Enhance security with OTP codes.\
✔ **User Management:** Manage users in Auth0 and sync with GitBook.

#### **Authentication Methods**

GitBook supports **SSO via OpenID Connect (OIDC)**, which JFW fully supports.\
You can integrate JFW using the following:\
1️⃣ **OAuth 2.0 & OpenID Connect (OIDC)** (Recommended)\
2️⃣ **SAML 2.0** (For enterprise accounts) <mark style="color:red;">(updating)</mark>

</details>

### **Setting Up JFW with GitBook (OIDC)**

Visit [guide.jframework.io](https://guide.jframework.io) to learn how to integrate with GitBook.
