oauthConsentRequestQuery
oauthConsentRequest(clientId: String!, redirectUri: String!, scope: String, codeChallenge: String, codeChallengeMethod: String): OAuthConsentRequestResult!Validate a pending OAuth authorization request and return what the consent screen needs: the requesting app's presentation, the scopes it's asking for, and the businesses the signed-in viewer may connect. The error field is set (and request null) for an unknown client, an unregistered redirect URI, or an otherwise invalid request — the consent page renders an error state. Requires an authenticated viewer.
Arguments
Returns
See OAuthConsentRequestResult for the full shape.
Try it
Example
Query
query OauthConsentRequest($clientId: String!, $redirectUri: String!, $scope: String, $codeChallenge: String, $codeChallengeMethod: String) {
oauthConsentRequest(clientId: $clientId, redirectUri: $redirectUri, scope: $scope, codeChallenge: $codeChallenge, codeChallengeMethod: $codeChallengeMethod) {
__typename
}
}
Variables
{}
POST
https://go.sessions.website/api/graphqloauthConsentRequest