createPortalAuthorizationCode
Create a one-time, PKCE-bound portal authorization code (browser handoff). The Overworld identity origin (holding the SESSION token) calls this; redirect the player to the destination game carrying the code, which the game exchanges via exchangePortalCode. Requires a SESSION token.
createPortalAuthorizationCode(
input: CreatePortalAuthorizationCodeInput!
): PortalAuthorizationCode!
Arguments
createPortalAuthorizationCode.input ● CreatePortalAuthorizationCodeInput! non-null input
Type
PortalAuthorizationCode object
A one-time portal authorization code. Redirect the player to redirectUri carrying code; the destination game exchanges it (with its PKCE verifier) via exchangePortalCode for an app token. Single-use and short-lived.