跳至主要内容

Casdoor-SSO

Casibase 使用 Casdoor 作为其身份认证和单点登录(SSO)提供商。请确保提前部署好 Casdoor。 请确保提前部署它。

请参考 Casdoor 服务器安装指南 来安装和配置 Casdoor。

按照以下步骤为 Casibase 设置 Casdoor:

  • 创建组织

创建组织

  • 配置组织信息

配置组织

  • 创建新应用

创建应用

  • 配置应用信息(请记住应用名称、ClientID 和 ClientSecret)

配置应用

  • Create a Certificate: In the Casdoor dashboard, choose Cert → Add, keep Algorithm as RS256 (default), enter a name, and click Save.

create-cert

  • Bind the Certificate to the Application: Open the Config tab of your newly created Application, select the certificate you just created from the Cert dropdown, and click Save.

bind-cert

  • 在新创建的组织中添加成员

添加用户

添加用户

  • 配置成员信息(请记住用户名和密码)

配置用户

配置用户

Billing Integration

Casibase integrates with Casdoor's transaction system for AI usage billing. When users interact with AI models, transaction records are automatically created in Casdoor to track token consumption and costs. This enables centralized billing management across all your applications. For details on how transactions work, see the Billing & Usage section.