Backend-Initiated Handoff
If your frontend does not have access to the user's credentials for example, when credentials are stored or brokered only by your backend the handoff POST can be initiated from your backend instead of the browser.
How it works
Your backend submits the POST to
<https://<user-portal-domain>>/userportal/auth-handoffwith the same payload described in Request Payload.The Gateway returns the resulting redirect (
3xx, typically302) to your backend.Your backend returns that redirect to the browser as a short hop.
The browser follows the Gateway-issued redirect to the User Portal destination.
The end state is identical to the frontend-initiated flow: the browser ends up at the User Portal destination returned by the POST response.
Your responsibilities in this flow
Submit the POST from the backend where the credentials are located.
Relay the Gateway's redirect response to the browser unchanged.
Do not inspect or modify the redirect target or any tokens it carries — token creation, validation, and session handling are managed by the User Portal Gateway.
Last updated