{"repo":"casdoor/casdoor-js-sdk","free":true,"listed":false,"github":"https://github.com/casdoor/casdoor-js-sdk","clone":"git clone https://github.com/casdoor/casdoor-js-sdk.git","description":"Javascript client SDK for Casdoor","language":"TypeScript","stars":47,"topics":["auth","authn","authentication","sso","oauth","oidc","casdoor","javascript","js"],"license":"Apache-2.0","category":"auth-billing-email","readme_excerpt":"casdoor-js-sdk [![NPM version][npm-image]][npm-url] [![NPM download][download-image]][download-url] [npm-image]: https://img.shields.io/npm/v/casdoor-js-sdk.svg?style=flat-square [npm-url]: https://npmjs.com/package/casdoor-js-sdk [download-image]: https://img.shields.io/npm/dm/casdoor-js-sdk.svg?style=flat-square [download-url]: https://npmjs.com/package/casdoor-js-sdk This is Casdoor's SDK for js 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. Usage in NPM environment Installation shell script NPM npm i casdoor-js-sdk Yarn yarn add casdoor-js-sdk Init SDK Initialization requires 5 parameters, which are all string type: Name (in order) Must Description ------------------ ------ ------------------------------------------------------------------------------------------------ serverUrl Yes your Casdoor server URL clientId Yes the Client ID of your Casdoor application appName Yes the name of your Casdoor application organizationName Yes the name of the Casdoor organization connected with your Casdoor application redirectPath No the path of the redirect URL for your Casdoor application, will be /callback if not provided signinPath No the path of the signin URL for your Casdoor application, will be /api/signin if not provided Usage in vanilla Javascript Import and init SDK Initialization parameters are consistent with the previous","default_branch":null,"files":null,"tree":[],"storefront":"/r/casdoor","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/casdoor/casdoor-js-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."}