confirmSocialSignUp
Create the account a social sign-in stopped short of creating, and sign in as it. token is the pending sign-up handed to a popup opener; omit it and the pending cookie is used instead (the popup-blocked flow, which has no opener to hand anything to). name is the viewer's chosen display name, falling back to whatever the provider shared.
Resolution is re-run from scratch, so an account that appeared in the meantime — another tab, an email sign-up — is linked rather than forked. Sets the auth cookie, or returns a business-scoped token for an embed.
Arguments
Returns
See SignInResult for the full shape.
Try it
Authentication
Example
Query
mutation ConfirmSocialSignUp($token: String, $name: String) {
confirmSocialSignUp(token: $token, name: $name) {
__typename
}
}
Variables
{}
POST
https://go.sessions.website/api/graphql