You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`oauth2c` is a command-line OAuth2 client. Its goal is to make it easy for users to try out different aspects of the OAuth2 protocol and understand how it works. This tool is designed for testing, debugging, and generally interacting with OAuth2 authorization servers. With `oauth2c`, users can easily learn about and experiment with OAuth2 without the need for complex setup or detailed knowledge of the protocol.
8
+
`oauth2c` is a command-line tool for interacting with OAuth 2.0 authorization servers. Its goal is to make it easy to fetch access tokens
9
+
using any grant type or client authentication method. It is compliant with almost all basic and advanced OAuth 2.0, OIDC, OIDF FAPI and JWT profiles.
You can also compile `oauth2c` from source using `go`. To do this run the following command:
43
46
@@ -88,13 +91,13 @@ The available flags are:
88
91
--username string resource owner password credentials grant flow username
89
92
```
90
93
91
-
You will be asked to provide the necessary information, such as the grant type, client authentication method, and any other relevant details (if not already provided).
92
-
93
94
`oauth2c` opens a browser for flows such as authorization code and starts an HTTP server which acts as a client application and waits for a callback.
94
95
95
96
> **Note**: To make browser flows work add `http://localhost:9876/callback` as a redirect URL to your client.
96
97
97
-
For more information on the available options and arguments for each grant type, run `oauth2c --help`.
98
+
`oauth2c` prints all the requests it made to obtain an access token. If you want to integrate it with CI/CD pipeline use the `--silent` flag.
99
+
100
+
For more information on the available options and arguments run `oauth2c --help`.
0 commit comments