add_redirect_uri
Add a login callback URL to a Scalekit environment's allowed redirect list so OAuth login responses can return to your app.
Instructions
Add one login callback URL to an environment. Use add_post_logout_redirect_uri for a URL used after logout. Use list_redirect_uris to read the current list. Requires the caller OAuth token. Adding a URL that is already on the list leaves the list unchanged.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uri | Yes | Login callback URL to add to the allowed redirect list. | |
| environmentId | Yes | Scalekit environment id. Format: env_<id>. |