アプリケーションのカテゴリ
すべてのアプリケーションにはカテゴリとタイプがあります。カテゴリは、そのアプリケーションを誰が使用するのか(人間かマシンか)を示し、利用可能なタイプと機能を決定します。
カテゴリとタイプ
| Category | For | Types |
|---|---|---|
Default | Web and mobile applications that users sign in to, in a browser or a client | All for several protocols, or one protocol: OIDC, OAuth, SAML, CAS |
Agent | Machine-to-machine clients: services and tools that authenticate from code, without a UI for the user | MCP for Model Context Protocol clients and servers, such as AI agents and their tools. A2A for application-to-application calls between services |
カテゴリ Agent のアプリケーションのみが カスタムスコープ を定義できます。カテゴリ Default のアプリケーションは、標準的な OAuth 2.0 および OpenID Connect (OIDC) スコープを使用します。
クライアントが 動的クライアント登録 を通じて作成したアプリケーションは、デフォルトでカテゴリ Agent とタイプ MCP を取得できます。
カテゴリの変更
- Casdoor 管理コンソールで、アプリケーションの編集ページを開きます。
- Basic タブで Category を選択します。
Agentを選択すると Casdoor は Type をMCPに設定し、Defaultを選択するとAllに設定します。 - 必要に応じて別の Type を選択し、アプリケーションを保存します。