Apache IoTDB
Casdoor can easily connect to Apache IoTDB through Apache IoTDB Web Workbench, the web console for IoTDB. Casdoor sign-in applies to the Workbench, not to the IoTDB database itself.
The Workbench already includes Casdoor support. Configure the backend application.properties and enable the front-end switch.
The apache/iotdb-web-workbench repository is archived and no longer maintained.
Step 1: Deploy Casdoor
Deploy Casdoor. See Server installation. Ensure the server is running and you can sign in at the Casdoor login page.
Step 2: Configure Casdoor
Create an organization and an application in Casdoor (see Application and Organization).
2.1 Create an organization

2.2 Create an application

Step 3: Activate Apache IoTDB Web Workbench front-end switch
Open this switch to send the code and state to the back-end.
The switch is the VUE_APP_CASDOOR variable in iotdb-web-workbench/frontend/.env. Set it to true:
VUE_APP_CASDOOR=true
Step 4: Configure the back-end code
Configure Casdoor in iotdb-web-workbench/backend/src/main/resources/application.properties.
casdoor.endpoint = http://localhost:8000
casdoor.clientId = <client id from previous step>
casdoor.clientSecret = <client secret from previous step>
casdoor.certificate=<client certificate from previous step>
casdoor.organizationName=IoTDB
casdoor.applicationName=app-IoTDB
Result
