有没有办法将 Nifi Server 与 AWS Cognito 集成?

Is there a way to integrate Nifi Server with AWS Cognito?

我在我们的组织中使用 AWS Cognito 进行身份验证,并想为我们的用户部署 Apache Nifi。

Nifi.properties 文件具有 Open ID SSO 设置,但想知道如何准确填充这些设置以集成 Cognito 池。

# OpenId Connect SSO Properties #
nifi.security.user.oidc.discovery.url=
nifi.security.user.oidc.connect.timeout=5 secs
nifi.security.user.oidc.read.timeout=5 secs
nifi.security.user.oidc.client.id=
nifi.security.user.oidc.client.secret=
nifi.security.user.oidc.preferred.jwsalgorithm=

我希望用户被重定向到 Cognito 登录页面,post 身份验证被重定向到 Nifi 服务器。

您可以使用 Apache Ranger,就像解释的那样 here and here