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