MrDoc User Manual
🎊 Basic Concepts
📑 Collection Feature
Document Sorting (Drag & Drop)
Document Watermark
Collection Permissions
Export as PDF / EPUB / Word
Collaboration & Members
Collection Info & Settings
Export Collection
Document Access Log
Pin Collection
Disable Document Copying
Transfer Collection
Collection Sharing
Enable Document Comments
WebHook Delivery
Hide Collection on Homepage
Collection Association Set
Tabs Configuration
Content Table Sorting
📄 Document Features
Subdocument Control
Sort Documents
Set Document Level
Document Sharing
Copy / Move Document
Document Permissions
Document Versions
Document Download
Export Markdown
Export as PDF
Export as Excel
Document Attachments
Transfer Document
Directory Display
Create Shortcut
Insert Video
Document Tags
Auto-Save
🗄️ Asset Management
Upload Size Limit
Allowed Image Formats
Allowed Attachment Formats
Attachment Preview
Transfer Attachments / Images
Image Cleanup
🎯 Import and Export
Desktop Import
Import from Joplin
Import from Evernote
Web Import
CLI Import
🔑 Third-Party Login
DingTalk Login
WeChat Work Auth
LDAP Integration
OIDC Integration
WeChat OAuth
📦 Third-Party Storage
MinIO
Qiniu OSS
Aliyun OSS
AWS S3
🤖AI Integration
Basic Configuration
Dify Integration
📝OnlyOffice Integration
📊 Drawio Integration
⚓ Site Management
Site Info
Homepage Template
Users & Accounts
Tracking Code
Ads / Info Block / Custom Head
Disable Update Check
Search Mode
Image Thumbnails in Docs
Feedback
RSS
Single Tag Settings
Email Sender
Site Data Export
Editor Settings
🧑 Personal Account
Default Editor
User Nickname
Change Password
Bind Third-Party Account
🎈 User Token API
Get User Token
List Collections
Get Collection Catalog
Get Collection Documents
Get Personal Documents
Get Document Content
Create Collection
Create Document
Update Document
Upload Image
Verify Token
🖥️ Client
💻 Desktop
📱 Mobile
🌐 Browser Extension
⌨️Obsidian Plugins
Common Issues Index
Published with MrDoc Pro
-
+
home
OIDC Integration
The following uses Keycloak as an example to demonstrate how to integrate OIDC authentication in MrDoc. ## Keycloak Configuration ### Realm In this demonstration environment, we created a new realm named "mrdoc":  ### Client Next, create a new client of type "OpenID Connect" within the "mrdoc" realm, and set the Client ID to "mrdoc-oidc":  Then, configure the "mrdoc-oidc" client. In the "Access Settings," enter the relevant URLs for your MrDoc instance:  In the "Capability Config," enable "Client Authentication" and "Authorization":  After configuring, save the settings. ### Client Credentials Switch to the "Credentials" tab on the "mrdoc-oidc" client configuration page and obtain the "Client Secret" for later use:  ## MrDoc Configuration Navigate to the "Third-party Login" section in the admin panel, switch to the "OIDC" tab, and click the "Add OIDC Provider" button:  In the pop-up dialog, enter the corresponding information for the OIDC provider:  Where: - **Name**: Used to identify the OIDC provider and must be unique within MrDoc. - **Client ID**: The Client ID created in Keycloak. - **Client Secret**: The "Client Secret" from the "Credentials" tab of the client in Keycloak. - **Metadata URL**: In Keycloak, the metadata URL is typically: `{OIDC Service URL}/realms/{Realm Name}/.well-known/openid-configuration` Therefore, based on the Keycloak configuration above, configure the OIDC provider information as follows:  After configuration, an OIDC login icon will appear on the MrDoc login page:  Clicking it will redirect to the OIDC provider's authentication address:  Enter the account credentials from the OIDC service to log in and be redirected back to MrDoc.
mrdoc
Nov. 18, 2025, 4:17 p.m.
Forward
Favorites
Last
Next
Scan the QR Code
Copy link
Scan the QR code to share.
Copy link
Markdown file
Word document
PDF document
PDF document (print)
share
link
type
password
Update password
Validity period