You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by "xiaozhihong (Jira)" <ji...@apache.org> on 2022/11/30 11:36:00 UTC

[jira] [Commented] (IOTDB-4414) [Cluster| NewServer]On using the CLI with OpenID Connect Auth enabled on Server side fails

    [ https://issues.apache.org/jira/browse/IOTDB-4414?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17641243#comment-17641243 ] 

xiaozhihong commented on IOTDB-4414:
------------------------------------

branch : rel/1.0
commit a7a1738c1ee2aa82014e37cf161cb9b5ed5a1448

Did not resolve.

> [Cluster| NewServer]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
>            Priority: Major
>              Labels: pull-request-available
>         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)