Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tcarrio/oauth-token-cli
A Bun CLI utility for automating OAuth flows
https://github.com/tcarrio/oauth-token-cli
bun cli oauth oidc
Last synced: 2 days ago
JSON representation
A Bun CLI utility for automating OAuth flows
- Host: GitHub
- URL: https://github.com/tcarrio/oauth-token-cli
- Owner: tcarrio
- Created: 2024-08-02T22:19:09.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-10-22T13:18:10.000Z (3 months ago)
- Last Synced: 2024-11-16T10:26:57.053Z (2 months ago)
- Topics: bun, cli, oauth, oidc
- Language: TypeScript
- Homepage:
- Size: 42 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# @0xc/oauth-token-cli
Authentication CLI for OAuth/OIDC provider to authorize access to a resource.
## Getting started
To install dependencies:
```bash
bun install
```To run:
```bash
bun oauth
```## How to use
With `direnv` and a `.env` file, you can automatically import the variables defined in the CLI parser.
You can also define each variable explicitly at the command line. Environment variables are always backups to these values.
Required values that are not provided via either arguments or environment variables will result in a failure.
## More information
ℹ️ This project was created using `bun init` in bun v1.0.33. [Bun](https://bun.sh) is a fast all-in-one JavaScript runtime.