1.3.0 ā€¢ Published 2 years ago

get-oauth-token v1.3.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

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!


This README was generated with ā¤ļø by readme-md-generator

1.2.0

2 years ago

1.1.0

2 years ago

1.3.0

2 years ago

1.2.1

2 years ago

1.0.0

2 years ago