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.
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>. |