Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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

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.