Type alias SignInWithOAuthCredentials

SignInWithOAuthCredentials: {
    options?: {
        queryParams?: {
            [key: string]: string;
        };
        redirectTo?: string;
        scopes?: string;
        skipBrowserRedirect?: boolean;
    };
    provider: Provider;
}

Type declaration

  • Optional options?: {
        queryParams?: {
            [key: string]: string;
        };
        redirectTo?: string;
        scopes?: string;
        skipBrowserRedirect?: boolean;
    }
    • Optional queryParams?: {
          [key: string]: string;
      }

      An object of query params

      • [key: string]: string
    • Optional redirectTo?: string

      A URL to send the user to after they are confirmed.

    • Optional scopes?: string

      A space-separated list of scopes granted to the OAuth application.

    • Optional skipBrowserRedirect?: boolean

      If set to true does not immediately redirect the current browser context to visit the OAuth authorization page for the provider.

  • provider: Provider

    One of the providers supported by GoTrue.

Generated using TypeDoc