Skip to main content

portalReturnAllowed

Whether redirectUri is a return address this app registered: its origin matches a redirect URI or the launch URL, and on the games host the path must match too. Studio's hosted sign-in Cancel calls this so a decline can send the player back without the allow-list being readable. Any signed-in session. An unknown app or an unregistered address is false. Requires a SESSION token.

portalReturnAllowed(
appId: BigInt!
redirectUri: String!
): Boolean!

Arguments​

portalReturnAllowed.appId ● BigInt! non-null scalar​

Numeric id of the app the decline would return from (BigInt as a decimal string).

portalReturnAllowed.redirectUri ● String! non-null scalar​

The authorize request's redirect_uri. Checked by origin (and by path on the games host) against the app's redirect URIs and launch URL. The list itself is not returned.

Type​

Boolean scalar​

The Boolean scalar type represents true or false.