docs: add cookie management in Integrations (#2003)

This commit is contained in:
Calvin W. 2025-10-31 13:52:02 +08:00 committed by GitHub
commit 9f518d6c4b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 90 additions and 26 deletions

View file

@ -1,14 +1,24 @@
---
outline: [2, 3]
description: Connect Olares Space and third-party services to enhance functionality. Learn how to integrate, authorize, and manage connected services for seamless data synchronization.
description: Connect Olares with different services and manage cookies for web access and subscriptions — all from Integrations in Settings.
---
# Manage integrations in Settings
The Integration section in **Settings** provides a centralized view of all third-party services connected to your Olares system. It also allows you to manually configure cloud object storage using API credentials.
The **Integrations** section in **Settings** centralizes all services and authentication credentials connected to Olares. You can perform two main types of operations here:
OAuth-based integrations and Olares Space must be connected via the LarePass app. See the [Integration guide of LarePass](../../larepass/integrations.md) for details.
- **Connect services** Link cloud storage services such as **Olares Space**, **AWS S3**, and **Tencent Cloud COS** to extend Olares storage capabilities.
- **Manage cookies** Store, import, and delete website cookies to support Olares access to subscription-based or restricted content.
## View and manage connected services
Follow these steps to view or manage your integrations:
1. Open **Settings** from the Dock or Launcher.
2. From the left sidebar, select **Integrations > Link your accounts and data**.
3. Manage the existing integrations:
- View the list of authorized services and click a card to check its status or manage settings.
- On the **Account settings** page, click **Delete** to remove an integration.
## Add cloud object storage via API keys
@ -27,12 +37,37 @@ Your connected cloud storage will now appear under the **Cloud storage** section
Alternatively, you can configure this direction directly within [LarePass](../../larepass/integrations.md#add-a-cloud-storage-using-api-keys).
## View and manage existing integrations
:::tip Integrations that require LarePass
OAuth-based integrations and **Olares Space** connections must be completed through the **LarePass** app.
See the [LarePass integrations guide](../../larepass/integrations.md) for details.
:::
## Manage Cookies
Manage cookies under **Settings > Integrations > Cookie Management**.
The Cookie Management page displays all saved cookies, grouped by domain.
Each entry shows the cookie name, value, expiration date, and associated domain.
![Cookie Management](/images/manual/olares/cookie-management.png#bordered)
You can perform the following actions:
- **Upload cookie** Paste cookie content into the import dialog. Supported formats include **Netscape**, **JSON**, and **Header String**.
:::tip Note
(First-time users can only import cookies manually. You can also use the [LarePass extension](../../larepass/manage-knowledge.md#collect-content-via-larepass-extension) to upload cookies from the browser.)
:::
- **Edit cookie** Click a specific cookie entry to modify its value in the editor below.
- **Delete cookie** Remove invalid or expired cookies. You can delete cookies individually or in bulk.
:::warning Keep cookies up to date
When a cookie expires, the system will highlight it in red.
Expired or missing cookies may cause some subscription or web automation tasks to fail. Its recommended to check and update cookies periodically.
:::
1. Open **Settings** from the Dock or Launchpad.
2. Go to **Integration** from the left-hand menu. Youll see a list of currently authorized services.
3. Click an integration card to show its connection status and available actions.
4. In the **Account settings** page, click **Delete** to remove the integration.

Binary file not shown.

After

Width:  |  Height:  |  Size: 66 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 122 KiB

View file

@ -1,35 +1,64 @@
---
outline: [2, 3]
description: 将 Olares Space 与第三方服务连接,扩展系统功能。了解如何在 Settings 中查看、授权及管理集成服务,实现数据的无缝同步
description: 将 Olares 与第三方服务连接,扩展系统功能。集中管理 Cookie用于订阅、网页访问及自动化任务
---
# 在设置中管理集成
设置中的**集成**分区集中展示所有已连接到 Olares 的第三方服务,并支持使用 API 凭证手动配置云对象存储。
**设置**中的**集成**页面集中展示所有已连接至 Olares 的服务与访问认证凭证Cookies。目前可进行以下两类操作
:::tip 注意
OAuth 类型的集成以及 Olares Space 需在**LarePass**应用中完成连接,详见 [LarePass 集成文档](../../larepass/integrations.md)。
:::
## 查看与管理现有集成
- **集成第三方服务**:连接 Olares Space、 AWS S3、腾讯云 COS 等云存储服务,扩展 Olares 的文件存储能力;
- **管理 Cookie**:集中保存、导入或删除网站 Cookie以支持 Olares在 Olares 中访问订阅服务或其他受限内容。
1. 通过 Dock 或启动台打开**设置**。
2. 在左侧菜单选择**集成**,即可看到已授权的服务列表。
3. 点击任一集成卡片查看连接状态和操作选项。
4. 在**账户设置**页面点击**删除**可移除该集成。
## 查看与管理服务
通过以下步骤查看或管理集成的服务:
1. 通过 Dock 或启动台打开**设置**。
2. 在左侧菜单选择**集成** > **关联您的账户与数据** ,即可看到已授权的服务列表。
3. 点击任一集成卡片查看连接状态和操作选项。
4. 在**账户设置**页面点击**删除**可移除该集成。
## 通过 API 密钥添加云对象存储
Olares 支持手动配置 **AWS S3** 和**腾讯云 COS**
Olares 支持通过 API 密钥手动配置 **AWS S3** 和**腾讯云 COS**
1. 进入**设置** > **集成**,点击右上角**添加账户**。
2. 选择 **AWS S3****Tencent COS**,点击**确认**。
3. 在弹出的挂载对话框输入以下信息:
- **Access Key**
- **Secret Key**
- **Region**
- **Bucket name**
1. 进入**设置** > **集成** > **关联您的账户与数据**,点击右上角**添加账户**。
2. 选择 **AWS S3****Tencent COS**,点击**确认**。
3. 在弹出的挂载对话框输入以下信息:
- **Access Key**
- **Secret Key**
- **Region**
- **Bucket name**
4. 点击**下一步**。凭证验证通过后将显示成功提示。
配置完成后,挂载的存储服务将出现在**文件管理器** > **云存储**下。
你也可以在 [LarePass](../../larepass/integrations.md#通过-api-密钥添加云盘) 中完成同样的配置。
:::tip 需要在 LarePass 应用操作的集成
OAuth 类型的集成以及 Olares Space 需在**LarePass**应用中完成连接,详见 [LarePass 集成文档](../../larepass/integrations.md)。
:::
## 管理 Cookie
你可以在 **设置 > 集成 > Cookie 管理** 中打开 Cookie 管理页面。
Cookie 管理页会按网站域名分组展示所有已保存的 Cookie。每个条目显示 Cookie 名称、值、到期时间及所属域名。
![时间分片](/images/zh/manual/olares/cookie-management.png#bordered)
可执行的操作包括:
- **导入 Cookie**:目前支持手工导入,复制并粘贴 Cookie 内容至导入对话框。支持格式为 **Netscape**、**Json**、以及 **Head String**
:::tip 注意
第一次使用仅支持导入。你也可以在 [LarePass 插件](../../larepass/manage-knowledge.md#通过-larepass-扩展收集内容)中直接从浏览器导入当前页面 Cookie。
:::
- **编辑 Cookie**:点击具体的 Cookie 条目,可在下方输入框中编辑对应的值。
- **删除 Cookie**:移除无效或过期条目。支持对单个域名或全部 Cookie 进行删除。
:::tip 定期维护 Cookie
当 Cookie 过期时,系统会以红色标识提醒。若 Cookie 已过期或缺失,部分订阅或网页访问任务可能失败。建议定期检查 Cookie 有效期并及时更新。