add_redirect_uri
Add a redirect URI to an AgeKey application in test or live environment. Test mode accepts any URL; live mode requires HTTPS and admin confirmation.
Instructions
Add a redirect URI to an AgeKey application.
For TEST mode: Any valid URL (localhost allowed). Requires Member role. For LIVE mode: Must be HTTPS (no localhost). Requires Admin role AND confirmation.
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": {
"appId": "<appId>",
"uri": "<uri>",
"environment": "<environment>",
"orgId": "<orgId>"
},
"name": "add_redirect_uri"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uri | Yes | The redirect URI to add (e.g., 'http://localhost:3000/callback' or 'https://myapp.com/callback') | |
| appId | Yes | The application ID | |
| orgId | Yes | The organization ID that owns the application | |
| environment | Yes | Which environment to add the URI to | |
| confirmation | No | Confirmation phrase (required for live mode). Use 'ADD LIVE URI'. |