skycloak_create_application
Create OIDC or SAML client applications in a Keycloak realm and return the client secret for confidential clients. Store the secret immediately, because it cannot be retrieved later.
Instructions
Create an OIDC/SAML client (application) in a realm. Returns the client secret for confidential clients (store it; it is not retrievable later).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"cluster_id": "<cluster_id>",
"realm": "<realm>",
"client_id": "<client_id>",
"name": "<name>"
},
"name": "skycloak_create_application"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | display name | |
| type | No | OAuth client type: confidential or public (case-insensitive); defaults to confidential | |
| realm | Yes | the realm name | |
| protocol | No | authentication protocol: openid-connect or saml (case-insensitive); defaults to openid-connect | |
| client_id | Yes | the OAuth client ID (unique within the realm) | |
| cluster_id | Yes | the cluster ID | |
| grant_types | No | enabled OAuth 2.0 grant types: authorization_code, implicit, password, client_credentials or refresh_token (case-insensitive). Defaults to authorization_code, the browser login flow. Ignored for SAML | |
| redirect_uris | No | allowed redirect URIs; required whenever authorization_code or implicit is enabled |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| client_id | Yes | ||
| client_secret | No |