Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/thebenforce/get-oauth-token
- Owner: theBenForce
- Created: 2022-08-16T14:46:37.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2022-08-23T14:50:18.000Z (about 2 years ago)
- Last Synced: 2024-10-04T21:43:46.217Z (about 1 month ago)
- Language: TypeScript
- Size: 106 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README
Welcome to get-oauth-token 👋
> 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!
***
_This README was generated with ❤️ by [readme-md-generator](https://github.com/kefranabg/readme-md-generator)_