Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/thebenforce/get-oauth-token

Run an OAuth login flow and display the final token
https://github.com/thebenforce/get-oauth-token

Last synced: 22 days ago
JSON representation

Run an OAuth login flow and display the final token

Awesome Lists containing this project

README

        

Welcome to get-oauth-token 👋




Version


Release Actions


Documentation


License: MIT


Twitter: theBenForce

> Run an OAuth login flow and display the final token

### 🏠 [Homepage](https://github.com/theBenForce/get-oauth-token)

## Install

```sh
yarn global add get-oauth-token
```

## Usage

Once the package is installed globally, you can see the current list of commands
by running `oauth help`.

### Adding a Profile

This tool relies on creating a `.oauthrc` file in your user directory which
will contain a profile for each location that you want to get a token from. To
create a new profile, run:

```bash
oauth new-profile
```

And the cli will step you through a series of questions to create a new profile.

### Getting a Token

To use the CLI to get a token, run the login command and provide a profile name.

```bash
oauth login test-profile
```

This will open a browser and start the login flow. At the end of the flow you'll
see a webpage with the ID Token and some links to view it on jwt.io or copy.

## Author

👤 **Ben Force**

* Website: https://www.thebenforce.com/
* Twitter: [@theBenForce](https://twitter.com/theBenForce)
* Github: [@theBenForce](https://github.com/theBenForce)
* LinkedIn: [@theBenForce](https://linkedin.com/in/theBenForce)

## 🤝 Contributing

Contributions, issues and feature requests are welcome!
Feel free to check [issues page](https://github.com/theBenForce/get-oauth-token/issues).

## Show your support

Give a ⭐️ if this project helped you!

Buy Me A Coffee

***
_This README was generated with ❤️ by [readme-md-generator](https://github.com/kefranabg/readme-md-generator)_