Skip to content

Commit

Permalink
docs: fix initialize parameter keys (#193)
Browse files Browse the repository at this point in the history
  • Loading branch information
ghonche authored Mar 30, 2022
1 parent 585c8bd commit b184b02
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ import { GoogleAuth } from '@codetrix-studio/capacitor-google-auth';

// use hook after platform dom ready
GoogleAuth.initialize({
client_id: 'CLIENT_ID.apps.googleusercontent.com',
clientId: 'CLIENT_ID.apps.googleusercontent.com',
scopes: ['profile', 'email'],
grantOfflineAccess: true,
});
Expand All @@ -61,7 +61,7 @@ or if need use meta tags

#### Options

- `client_id` - The app's client ID, found and created in the Google Developers Console.
- `clientId` - The app's client ID, found and created in the Google Developers Console.
- `scopes` – same as [Configure](#Configure) scopes
- `grantOfflineAccess` – boolean, default `false`, Set if your application needs to refresh access tokens when the user is not present at the browser.

Expand Down

0 comments on commit b184b02

Please sign in to comment.