ging / fiware-idm

OAuth 2.0-based authentication of users and devices, user profile management, Single Sign-On (SSO) and Identity Federation across multiple administration domains.
https://keyrock-fiware.github.io
MIT License
36 stars 80 forks source link

Login via KeyRock returns error #281

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!