set_initiate_login_uri
Configure the initiate-login URI for a Scalekit environment so IdP-initiated SSO and external logins redirect to the Scalekit authorize endpoint.
Instructions
Set the initiate-login URI for an environment. That URI is the app endpoint that redirects to the Scalekit authorize endpoint for logins that did not start in the app, including IdP-initiated SSO. Use remove_initiate_login_uri to clear it. Use list_redirect_uris to read it. Requires the caller OAuth token. Setting the same URI again leaves it unchanged.
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": {
"environmentId": "<environmentId>",
"uri": "<uri>"
},
"name": "set_initiate_login_uri"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uri | Yes | App URL that redirects to the Scalekit authorize endpoint for logins that did not start in the app. | |
| environmentId | Yes | Scalekit environment id. Format: env_<id>. |