kinde-cli

1.4.0 • Public • Published

Kinde CLI

Kinde is an alternative way of doing auth, kind of like clerk but better because it's been built with developers and startups in mind, save costs and achieve more free up 10,500 users. Kinde

This CLI some of the functionality for Kinde:

  • [x] Authentication via Access Token for M2M

  • [ ] Users

    • [ ] Refresh User Claim
    • [ ] Get User
    • [ ] Create User
    • [ ] Update User
    • [ ] Delete User
    • [ ] Update User Feature Flag
  • [x] Permissions

    • [ ] List Permission
    • [x] Create Permission
    • [x] Update Permission
    • [ ] Delete Permission
  • [ ] Roles

    • [ ] List Roles
    • [x] Create Roles
    • [x] Update Roles
    • [x] Delete Roles
  • [x] Business

    • [x] List Business details
    • [x] Update Business details

Getting Started

On your Kinde dashboard, create a new application call it CLI for convenience and choose Machine to Machine (M2M) option then click save to continue and then tab on the left click on API(s) then enable the api to connect this application to; copy your domain, client id and client secret you will need this to login.

Applications view Add New M2M Application Enable Api Click Application Details Copy your Details

Install the CLI

Available on NPM. To install:

npm install -g kinde-cli

Usage

kinde-cli --help
Flag Description
-h, --help Show this help message and exit.

Usage

Run the program from the command line like this:

  • To use this CLI make sure you are authenticated by calling npx kinde-cli login
kinde-cli login
  • Manage your permissions
kinde-cli permission
  • Can be used with npx as well
npx kinde-cli permission

Todo

  • [ ] Input Validation
  • [ ] Error Handling
  • [x] Request Retry Logic

Note

Not all the features of kinde are currently supported and there maybe a lot of breaking changes.

Documentation

Kinde api documentation can be found here: (Kinde)[https://kinde.com/api/docs]

Contributing

For more information on how to use Kinde please consult their documentation

License

MIT

Package Sidebar

Install

npm i kinde-cli

Homepage

kinde.com

Weekly Downloads

1

Version

1.4.0

License

ISC

Unpacked Size

59.8 kB

Total Files

13

Last publish

Collaborators

  • emee-dev