xiaozhihong created IOTDB-4414:
----------------------------------

             Summary: On using the CLI with OpenID Connect Auth enabled on 
Server side fails
                 Key: IOTDB-4414
                 URL: https://issues.apache.org/jira/browse/IOTDB-4414
             Project: Apache IoTDB
          Issue Type: Bug
          Components: Others
    Affects Versions: master branch, 0.14.0-SNAPSHOT
            Reporter: xiaozhihong
            Assignee: luke.miao
         Attachments: image-2022-09-15-15-14-09-497.png, log_all.log

When using OpenID as the username to authenticate and login, start the server 
and report an error.
!image-2022-09-15-15-14-09-497.png|width=520,height=211!


Modify parameters in iotdb-datanode.properties:
{code:java}
### Authorization Configuration
##################### which class to serve for authorization. By default, it is 
LocalFileAuthorizer.
# Another choice is org.apache.iotdb.db.auth.authorizer.OpenIdAuthorizer
# 
authorizer_provider_class=org.apache.iotdb.commons.auth.authorizer.LocalFileAuthorizer
 authorizer_provider_class=org.apache.iotdb.db.auth.authorizer.OpenIdAuthorizer
# If OpenIdAuthorizer is enabled, then openID_url must be set.
openID_url=http://172.20.31.3:8081/auth/realms/iotdb/
 {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to