@kinde/management-api-js
v0.3.1
Published
## Description
Downloads
2,384
Readme
Kinde Management API JS
Description
Javascript SDK to interact with the Kinde Management API.
Installation
# npm
npm install @kinde/management-api-js
# yarn
yarn add @kinde/management-api-js
# pnpm
pnpm install @kinde/management-api-js
Configuration
The following ENV variables are required to run the project:
KINDE_DOMAIN
: Kinde domain e.g.mybusiness.kinde.com
KINDE_MANAGEMENT_CLIENT_ID
: Client ID of your M2M tokenKINDE_MANAGEMENT_CLIENT_SECRET
: Client Secret of your M2M token
Usage
import { Users, init } from "@kinde/management-api-js";
init();
const { users } = await Users.getUsers();
API documentation
You can find management API documentation here: Kinde Management API Documentation
Contributing
If you'd like to contribute to this project, please follow these steps:
- Fork the repository.
- Create a new branch.
- Make your changes.
- Submit a pull request.
License
By contributing to Kinde, you agree that your contributions will be licensed under its MIT License.