Casdoor can simply connect to Apache IoTDB.
Because the code for connecting casdoor has been added in Apache IoTDB Web Workbench, we just need to configure application.yml in back-end and open front switch.
Firstly, the Casdoor should be deployed.
You can refer to the Casdoor official documentation for the Server Installation.
After a successful deployment, you need to ensure:
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.
Configure casdoor can refer to casdoor(Configure casdoor's browser better not use one browser as your develop browser).
You also should configure an organization and an application. You also can refer to casdoor.
Open this switch to make code and state send to back-end.
This switch in the iotdb-web-workbench/fronted/.env
You should configure casdoor's Configuration in the iotdb-web-workbench/backend/src/main/resources/application.properties
casdoor.endpoint = http://localhost:8000 casdoor.clientId = <client id in previous step> casdoor.clientSecret = <client Secret in previous step> casdoor.certificate=<client certificate in previous step> casdoor.organizationName=IoTDB casdoor.applicationName=app-IoTDB