-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
15 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,13 +7,6 @@ working with | |
written in Go. Its primary use is to fetch and print OAuth 2.0 access | ||
tokens, which can be used with other command-line tools and shell scripts. | ||
|
||
## Previous Version | ||
|
||
The previous version of `oauth2l` was written in Python and it is located | ||
at the [python](/python) directory. The Python version is deprecated because | ||
it depends on a legacy auth library and contains some features that are | ||
no longer best practice. Please switch to use the Go version instead. | ||
|
||
## Overview | ||
|
||
`oauth2l` supports all Google OAuth 2.0 authentication flows for both user | ||
|
@@ -44,7 +37,13 @@ accounts and service accounts in different environments: | |
|
||
## Quickstart | ||
|
||
You will need to meet the following requirement to use this tool: | ||
On Mac OS X, you can install `oauth2l` via [Homebrew](https://brew.sh): | ||
|
||
```bash | ||
$ brew install oauth2l | ||
``` | ||
|
||
On other systems, you need to meet the following requirements to use this tool: | ||
|
||
__Minimum requirements:__ | ||
- The tool is only available for _Linux_ or _Mac_ | ||
|
@@ -303,4 +302,11 @@ Path to Curl CLI. For optional use with "curl" command. | |
|
||
```bash | ||
$ oauth2l curl --curlcli /usr/bin/curl --type sso --email [email protected] --scope cloud-platform --url https://pubsub.googleapis.com/v1/projects/my-project-id/topics | ||
``` | ||
``` | ||
|
||
## Previous Version | ||
|
||
The previous version of `oauth2l` was written in Python and it is located | ||
at the [python](/python) directory. The Python version is deprecated because | ||
it depends on a legacy auth library and contains some features that are | ||
no longer best practice. Please switch to use the Go version instead. |