A fun command line project made using the commander CLI library, Okta API, and icanhazdadjoke API.
This CLI:
- makes dad jokes using the
icanhazdadjokeAPI - allows access to authentication tokens and user info via the Okta OAuth 2.0 PKCE protocol
- Clone this repo
- Run
npm installin the project root - Run
npm install -g .to install this cli globally
We have 2 commands:
hellopkce-login
$ hello -n robert
$ hello -n me -s orange
Authenticates via OAuth 2.0 PKCE flow
$ pkce-login