ging / fiware-draco

The Draco Generic Enabler is an alternative data persistence mechanism for managing the history of context. It is based on Apache NiFi and is a dataflow system based on the concepts of flow-based programming. It supports powerful and scalable directed graphs of data routing, transformation, and system mediation logic and also offers an intuitive graphical interface
https://fiware-draco.readthedocs.io/en/latest/
Apache License 2.0
20 stars 14 forks source link

Login via KeyRock returns error #75

Open josemacruz opened 2 years ago

josemacruz commented 2 years ago

Hi,

I am trying to login via KeyRock in Draco, but after configuring the app in KeyRock and adding the corresponding properties in Draco's config file.

Upon entering the Draco interface, I am redirected to keyRock and logged in. Then it redirects to the draco again and I get this error:

image

2022-06-23 06:42:32,651 ERROR [NiFi Web Server-79] o.apache.nifi.web.api.OIDCAccessResource Unable to exchange authorization for ID token: Connection refused (Connection refused)

Attached other files:

nifi.properties

nifi.security.user.oidc.discovery.url=http://localhost:3005/idm/applications/tutorial-dckr-site-0000-xpresswebapp/.well-known/openid-configuration
nifi.security.user.oidc.connect.timeout=5 secs
nifi.security.user.oidc.read.timeout=5 secs
nifi.security.user.oidc.client.id=tutorial-dckr-site-0000-xpresswebapp
nifi.security.user.oidc.client.secret=tutorial-dckr-site-0000-clientsecret
nifi.security.user.oidc.preferred.jwsalgorithm=
nifi.security.user.oidc.additional.scopes=
nifi.security.user.oidc.claim.identifying.user=
nifi.security.user.oidc.fallback.claims.identifying.user=
nifi.security.user.oidc.truststore.strategy=JDK

KeyRock application

image

KeyRock logs

image

What I can be doing wrong?

Thanks!