xiaozhihong created IOTDB-2591:
----------------------------------
Summary: Using OIDC as the authority authentication service, the
root user has no read and write authority
Key: IOTDB-2591
URL: https://issues.apache.org/jira/browse/IOTDB-2591
Project: Apache IoTDB
Issue Type: Bug
Components: Core/Server
Affects Versions: 0.13.0-SNAPSHOT
Reporter: xiaozhihong
Attachments: log_all.log
Step 1: Modify parameters in the iotdb-engine.properties
{code:java}
authorizer_provider_class=org.apache.iotdb.db.auth.authorizer.OpenIdAuthorizer
set.openID_url=http://IP:port/auth/realms/iotdb/ {code}
Step 2: Generate Token information through Keycloak
Step 3: Start server, enter CLI through Token
Step 4: read and write operations
like this:
{code:java}
IoTDB> login successfully
IoTDB> show storage group
+-------------+
|storage group|
+-------------+
+-------------+
Empty set.
It costs 0.167s
IoTDB> set storage group to root.ln
Msg: 602: No permissions for this operation SET_STORAGE_GROUP
{code}
--
This message was sent by Atlassian Jira
(v8.20.1#820001)