Skip to content

Commit

Permalink
docs: add newline in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
JustinBeckwith committed Feb 23, 2018
1 parent a0169e7 commit 34bb07f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,7 @@ const tokens = await oauth2Client.refreshAccessToken();

##### OAuth2 with Installed Apps (Electron)
If you're authenticating with OAuth2 from an installed application (like Electron), you may not want to embed your `client_secret` inside of the application sources. To work around this restriction, you can choose the `iOS` application type when creating your OAuth2 credentials in the [Google Developers console][devconsole]:

![application type][apptype]

If using the `iOS` type, when creating the OAuth2 client you won't need to pass a `client_secret` into the constructor:
Expand Down

0 comments on commit 34bb07f

Please sign in to comment.