Hi , We are using apache nifi 1.14 . For user authentication we are using single-user-identity . we have also enabled nifi.security.allow.anonymous.authentication=true. We have 3 nodes in nifi cluster , cluster is using external zookeeper for state management . we have provided same password to all the 3 nodes using ./bin/nifi.sh set-single-user-credentials <username> <password>.
When we are trying to login to nifi GUI we are observing the below error. .svc.cluster.local, OU=NIFI>) GET https://nifit1-nifi-2.nifit1-nifi-headless.nifi.svc.cluster.local:9443/nifi-api/flow/current-user (source ip: 192.168.1.15)" {"type":"log", "host":"bcmt-vm-cnfi-4396-worker-01", "level":"INFO", "neid":"857fb9e4799f481da83e8286c07a8098", "system":"nifit1-nifi-2", "time":"2021-12-08T0UTC", "log":"[NiFi Web Server-25] o.a.n.w.s.NiFiAuthenticationFilter Authentication success for anonymous"} {"type":"log", "host":"bcmt-vm-cnfi-4396-worker-01", "level":"ERROR", "neid":"857fb9e4799f481da83e8286c07a8098", "system":"nifit1-nifi-2", "time":"2021-12-08T"UTC", "log":"[NiFi Web Server-27] o.a.nifi.web.security.jwt.JwtService There was an error validating the JWT"} {"type":"log", "host":"bcmt-vm-cnfi-4396-worker-01", "level":"ERROR", "neid":"857fb9e4799f481da83e8286c07a8098", "system":"nifit1-nifi-2", "time":"2021-12-08T"UTC", "log":"[NiFi Web Server-27] o.a.nifi.web.security.jwt.JwtService Unable to validate the access token. Caused by: Unable to determine signing key for admin [kid: 1]"} Can you please help us to resolve this issue ? Thanks & Regards, Ganesh.B