Skip to main content
Mutation

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.

Arguments

  • Google or Microsoft account provider.

  • returnPathString!

    Relative FilmKit web path to return to after consent. Other origins are rejected.

Returns

ProviderAuthorization!

Example

mutation StartProviderAuthorization($provider: AccountProvider!, $returnPath: String!) {
  startProviderAuthorization(provider: $provider, returnPath: $returnPath) {
    url
  }
}