get-oauth-token

Run an OAuth login flow and display the final token


License
MIT
Install
npm install get-oauth-token@1.3.0

Documentation

Welcome to get-oauth-token 👋

Version Release Actions Documentation License: MIT Twitter: theBenForce

Run an OAuth login flow and display the final token

🏠 Homepage

Install

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:

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.

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

🤝 Contributing

Contributions, issues and feature requests are welcome!
Feel free to check issues page.

Show your support

Give a ⭐️ if this project helped you!

Buy Me A Coffee


This README was generated with ❤️ by readme-md-generator