nodece commented on code in PR #499: URL: https://github.com/apache/pulsar-manager/pull/499#discussion_r1041884049
########## README.md: ########## @@ -273,6 +273,66 @@ The pulsar-manager can monitor topics and subscriptions.  +## Casdoor + + +### Casdoor Installation + +You can use casdoor to realize sso. + +Casdoor can connect to Pulsar-manager simplely. + +Because the code for connecting casdoor have been add in Pulsar-manager,so we just need configure application.yml in back-end and open front switch. + +#### Step1.Deploy Casdoor + +Firstly, the Casdoor should be deployed. + +You can refer to the Casdoor official documentation for the [Casdoor](https://casdoor.org/docs/overview) + +After a successful deployment, you need to ensure: + +- The Casdoor server is successfully running on **http://localhost:8000**. +- Open your favorite browser and visit **http://localhost:7001**, you will see the login page of Casdoor. +- Input `admin` and `123` to test login functionality is working fine. + +Then you can quickly implement a casdoor based login page in your own app with the following steps. + +#### stpe2.Configure Casdoor + +Configure casdoor can refer to [casdoor](https://door.casdoor.com/login)(Configure casdoor's browser better not use one browser with your develop browser). + +You also should configure organization, application, you also can refer to [casdoor](https://door.casdoor.com/login). + +##### step2.1 you should create a organization + + + +##### step2.2 you should create a application + + + +#### Step3. Open Pulsar-manager front-end switch. Review Comment: You only need to change the casdoor config in the front end. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
