Passer au contenu principal

Casdoor Authentification unique

Casibase utilise Casdoor comme fournisseur d'authentification et de connexion unique (SSO). Assurez-vous que Casdoor est déployé à l'avance.

Veuillez vous référer au Guide d'installation du serveur Casdoor pour installer et configurer Casdoor.

Suivez ces étapes pour configurer Casdoor pour Casibase :

  • Créer une organisation

créer-organisation

  • Configurer les informations de l'organisation

configurer-organisation

  • Créer une nouvelle application

créer-application

  • Configurer les informations de l'application (n'oubliez pas le nom de l'application, le ClientID et le ClientSecret)

configurer-application

  • 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

  • Ajouter des membres à la nouvelle organisation

ajouter-utilisateur

ajouter-utilisateur

  • Configurer les informations du membre (n'oubliez pas le nom d'utilisateur et le mot de passe)

configurer-utilisateur

configurer-utilisateur

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.