Skip to main content

OAuthMutations

No description

type OAuthMutations {
acceptLoginRequest(
challenge: String!
): OAuthRedirect
rejectLoginRequest(
challenge: String!
): OAuthRedirect
acceptConsentRequest(
challenge: String!
organizationId: Long!
): OAuthRedirect
rejectConsentRequest(
challenge: String!
): OAuthRedirect
}

Fields

OAuthMutations.acceptLoginRequest ● OAuthRedirect object

Accept a pending OAuth login challenge as the signed-in user; returns the URL the browser must follow

OAuthMutations.acceptLoginRequest.challenge ● String! non-null scalar

OAuthMutations.rejectLoginRequest ● OAuthRedirect object

Reject a pending OAuth login challenge; returns the URL the browser must follow

OAuthMutations.rejectLoginRequest.challenge ● String! non-null scalar

Accept a pending OAuth consent challenge, binding the grant to the chosen organization (must be one the user can switch to); returns the URL the browser must follow

Reject (deny) a pending OAuth consent challenge; returns the URL the browser must follow

Returned By

oauth mutation