---
title: "GoogleAuthProviderOptions"
source: "https://github.com/remix-run/remix/blob/8905f3943706e1f53696ab83e70a84873cabfc90/packages/auth/src/lib/providers/google.ts#L25"
---

# GoogleAuthProviderOptions

## Summary

Options for creating the built-in Google auth provider.

## Signature

```ts
interface GoogleAuthProviderOptions {
  authorizationParams?: Record<string, string | undefined>
  clientId: string
  clientSecret: string
  redirectUri: string | URL
  scopes?: string[]
}

```

## Properties

### `authorizationParams`

Additional authorization parameters appended to the login redirect, such as `access_type=offline`.

### `clientId`

OAuth client identifier for your Google application.

### `clientSecret`

OAuth client secret for your Google application.

### `redirectUri`

Callback URL registered with Google.

### `scopes`

Requested scopes for the Google login flow.