createConnectSession(projectReference: ID!, name: String!, input: CreateConnectSessionInput!): ConnectSession!
Arguments
Input fields
input
Response
Returns ConnectSession!. Open the type for its fields and nested types.
Types marked with ! cannot be null. Lists use [Type] notation. The type index lists all published input and response types.
Example
mutation CreateConnectSession($projectReference: ID!, $name: String!, $input: CreateConnectSessionInput!) {
createConnectSession(projectReference: $projectReference, name: $name, input: $input) {
connectUrl
expiresAt
sessionToken
}
}{
"projectReference": "00000000-0000-4000-8000-000000000001",
"name": "github",
"input": {
"scope": "user",
"redirectUri": "veryfront://auth/integrations"
}
}