Skip to main content

portalConsent

Whether portaling the calling user into an app needs a consent prompt. Trusted apps and already-granted apps return consentRequired=false. The identity origin (Studio's hosted sign-in, or a launcher holding the session) calls this before createPortalAuthorizationCode. Requires a SESSION token.

portalConsent(
appId: BigInt!
): PortalConsentState!

Arguments​

portalConsent.appId ● BigInt! non-null scalar​

Numeric id of the app the caller wants to portal into (BigInt as a decimal string).

Type​

PortalConsentState object​

Whether portaling into an app requires a consent prompt from the identity origin (Studio’s hosted sign-in, or a launcher holding the session).