Skip to content
This repository was archived by the owner on Sep 26, 2023. It is now read-only.

Commit 47e042e

Browse files
authored
Update google.md (#1547)
1 parent 27bf9cb commit 47e042e

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

‎cookbook/authentication/google.md‎

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,24 +48,29 @@ The client id (App ID) and secret can be acquired by creating a [OAuth client ID
4848

4949
**Important**: Fill in the callback url, in a default Feathers setup it will be /oauth/google/callback.
5050

51-
3. Replace <App ID> and <App Secret> with the id and secret of the created OAuth client ID application
51+
3. Replace `<App ID>` and `<App Secret>` with the id and secret of the created OAuth client ID application
5252

5353
```js
5454
{
5555
"authentication": {
5656
"oauth": {
5757
"google": {
5858
"key": "<client-id>.apps.googleusercontent.com",
59-
"secret": "<client ecret>",
59+
"secret": "<client-secret>",
6060
"scope": ["openid", "email"],
6161
"nonce": true
6262
}
6363
}
6464
}
6565
}
6666
```
67+
6768
Note: Use the generated credentials of the OAuth client ID.
6869

70+
Note: `<client-id>` will be replaced by a string similar to **481298021138-hv27glb811ocr7pdon5lsg8hh5a6pgjv**.apps.googleusercontent.com.
71+
72+
Note: `<client-secret>` will be replaced by a string similar to **XkWl0witdP4ogeNIgyOi-CeS**.
73+
6974
## Using the data returned from the Google App through a custom OAuth Strategy
7075

7176
In `src/authentication.js`:

0 commit comments

Comments
 (0)