{"repo":"casdoor/casdoor-nodejs-sdk","free":true,"listed":false,"github":"https://github.com/casdoor/casdoor-nodejs-sdk","clone":"git clone https://github.com/casdoor/casdoor-nodejs-sdk.git","description":"Node.js client SDK for Casdoor, see example at: https://github.com/casdoor/casdoor-nodejs-react-example","language":"TypeScript","stars":17,"topics":["javascript","sdk","casdoor","nodejs","sso"],"license":"Apache-2.0","category":"api-integrations-sdks","readme_excerpt":"casdoor-nodejs-sdk [![NPM version][npm-image]][npm-url] [![NPM download][download-image]][download-url] [npm-image]: https://img.shields.io/npm/v/casdoor-nodejs-sdk.svg?style=flat-square [npm-url]: https://npmjs.com/package/casdoor-nodejs-sdk [download-image]: https://img.shields.io/npm/dm/casdoor-nodejs-sdk.svg?style=flat-square [download-url]: https://npmjs.com/package/casdoor-nodejs-sdk This is Casdoor's SDK for NodeJS will allow you to easily connect your application to the Casdoor authentication system without having to implement it from scratch. Casdoor SDK is very simple to use. We will show you the steps below. Examples The following examples use Node.js Express as backend, but have different frontend frameworks. Choose the appropriate example based on your tech stack: 1. React frontend: https://github.com/casdoor/casdoor-nodejs-react-example 2. Angular frontend: https://github.com/casdoor/casdoor-nodejs-angular-example Installation Step1. Init SDK Initialization requires 5 parameters, which are all string type: Name (in order) Must Description ----------------- ------ ----------------------------------------------------- endpoint Yes Casdoor Server Url, such as http://localhost:8000 clientId Yes Client ID for the Casdoor application clientSecret Yes Client secret for the Casdoor application certificate Yes x509 certificate content of Application.cert orgName Yes The name for the Casdoor organization appName No The name for the Casdoor application Step2. Get service a","default_branch":null,"files":null,"tree":[],"storefront":"/r/casdoor","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/casdoor/casdoor-nodejs-sdk/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}