{"repo":"casdoor/casdoor-python-sdk","free":true,"listed":false,"github":"https://github.com/casdoor/casdoor-python-sdk","clone":"git clone https://github.com/casdoor/casdoor-python-sdk.git","description":"Python client SDK for Casdoor","language":"Python","stars":51,"topics":["python","oauth","authentication","auth","oidc","sso","authn","casdoor","oauth2","sdk"],"license":"Apache-2.0","category":"auth-billing-email","readme_excerpt":"casdoor-python-sdk Casdoor's SDK for Python will allow you to easily connect your application to the Casdoor authentication system without having to implement it from scratch. Casdoor-python-sdk is available on PyPI: Casdoor SDK is simple to use. We will show you the steps below. Step1. Init Config Initialization requires 5 parameters, which are all str type: Name (in order) Must Description ---------------- ---- --------------------------------------------------- endpoint Yes Casdoor Server Url, such as http://localhost:8000 client id Yes Application.client id client secret Yes Application.client secret certificate Yes Same as Casdoor certificate org name Yes Organization name application name Yes Application name OR use async version Step2. Authorize with the Casdoor server At this point, we should use some ways to verify with the Casdoor server. To start, we want you understand clearly the verification process of Casdoor. The following paragraphs will mention your app that wants to use Casdoor as a means of verification as APP , and Casdoor as Casdoor . 1. APP will send a request to Casdoor . Since Casdoor is a UI-based OAuth provider, you cannot use request management service like Postman to send a URL with parameters and get back a JSON file. 2. The simplest way to try it out is to type the URL in your browser (in which JavaScript can be executed to run the UI). 3. Type in the URL in your browser in this format: endpoint/login/oauth/authorize?client id=xxx&response type=","default_branch":null,"files":null,"tree":[],"storefront":"/r/casdoor","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/casdoor/casdoor-python-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."}