Action References
RedirectAction
RedirectAction
Purpose Redirect the client to a URL (OAuth flows, post-login navigation, hand-off flows).
When to use it
- Typically after output is prepared, or after a decision point
Key fields
| Field | Type | Description |
|---|---|---|
redirectUrl | HTTPRequest | Target URL (can be templated with MScript). |
Example
{
"id": "a320-redirect-success",
"name": "redirectToSuccess",
"redirectUrl": { "url": "`/success?ref=${this.orderId}`", "method": "GET" }
}
Was this page helpful?
Built with Documentation.AI
Last updated Jan 3, 2026