Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc: Add disclaimer to use "Desktop" type for OAuth client ID #167

Merged
merged 2 commits into from
Apr 15, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,10 @@ $ oauth2l fetch --help
Specifies an OAuth credential file (either an OAuth client ID or a Service
Account key) to start the OAuth flow. You can download the file from
[Google Cloud Console](https://console.cloud.google.com/apis/credentials).
If you wish to use OAuth client ID with oauth2l, please choose "Desktop"
(instead of "Web" etc.) for your application type when generating the file,
so that the post-authentication flow can correctly redirect to the oauth2l
localhost server.

```bash
$ oauth2l fetch --credentials ~/service_account.json --scope cloud-platform
Expand Down
Loading