Skip to content

Commit

Permalink
bugfix: minor improvements (#12)
Browse files Browse the repository at this point in the history
* bugfix: minor improvements

* chore: update deps

* Update go version in CI
  • Loading branch information
telegrapher authored Nov 28, 2022
1 parent 5fc7fe5 commit 663f7b8
Show file tree
Hide file tree
Showing 4 changed files with 98 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.15
go-version: 1.19

# Runs a set of commands using the runners shell
- name: Run GoReleaser
Expand Down
4 changes: 2 additions & 2 deletions DOCUMENTATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ The command will return 0 in case of success or 1 in case of an error.
## Subcommands
### Authorize

imscli login will negotiate an ***OAuth2 access token*** with IMS following the required ***Oauth2 flow***.
imscli login will negotiate an ***access token*** with IMS following the specified ***flow***.

#### imscli authorize user (standard Authorization Code Grant Flow)

This command will launch a browser and execute the normal OAuth2 flow done by users when log into IMS to use a service.

#### imscli authz service (a modified Client Credentials Grant Flow).
#### imscli authz service (an IMS specific flow similar to the Client Credentials Grant Flow).

The imscli client will exchange client credentials and an additional service token to obtain the access token.

Expand Down
3 changes: 2 additions & 1 deletion docs/redirect/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ <h1>If your browser is not automatically redirected, please click <a href="http:
location.replace(window.location.href.replace("https://opensource.adobe.com/imscli/redirect/","http://localhost:8888/"));
</script>
<noscript>
<h1>This browser doesn't support javascript, get the URL and substitute "https://git.corp.adobe.com/pages/Evergreen/cmcli/" for "http://localhost:8888/".</h1>
<h1>This browser doesn't support javascript. <br>
In the URL, replace "https://opensource.adobe.com/imscli/redirect/" for "http://localhost:8888/".</h1>
</noscript>
</body>
</html>
Loading

0 comments on commit 663f7b8

Please sign in to comment.