startProviderAuthorization
Starts a reusable Google or Microsoft account grant with the API's shared provider app, offline read-only calendar scopes, one-use state and PKCE. CALDAV uses connectCalDavAccount instead.
Argumente
providerAccountProvider!Google or Microsoft account provider.
returnPathString!Relative FilmKit web path to return to after consent. Other origins are rejected.
Rückgabe
ProviderAuthorization!Beispiel
mutation StartProviderAuthorization($provider: AccountProvider!, $returnPath: String!) {
startProviderAuthorization(provider: $provider, returnPath: $returnPath) {
url
}
}