Frequent Session Expired in NiFi
Hello Cloudera Community,
I'm encountering an issue with my NiFi deployment where users are getting frequent "Session Expired" messages approximately every 30 minutes. When this happens, they have to refresh their browser, which causes them to lose any unsaved modifications in the process.
Setup details:
- NiFi is integrated with Azure Active Directory .
Below are the relevant configurations from my nifi.properties file (please let me know if any more details are needed).
nifi.security.user.oidc.additional.scopes=profile
nifi.security.user.oidc.claim.identifying.user=upn
nifi.security.user.oidc.client.id=********************
nifi.security.user.oidc.client.secret=***************
nifi.security.user.oidc.connect.timeout=180 secs
nifi.security.user.oidc.discovery.url=https://login.microsoftonline.com/************
nifi.security.user.oidc.preferred.jwsalgorithm=
nifi.security.user.oidc.read.timeout=180 secs
nifi.web.war.directory= ./lib
nifi.web.proxy.host= nifi.**************.com
nifi.web.https.port= 8443
nifi.web.http.host= nifi-0.nifi-headless.nifi.svc.cluster.local
nifi.web.http.network.interface.default= eth0
nifi.web.jetty.working.directory= ./work/jetty
nifi.web.jetty.threads= 200
nifi.web.request.timeout= 600 secs
I believe the issue might relate to session management or integration with Azure AD, but I’m not entirely sure. Could this be a misconfiguration with Jetty or session handling settings? Has anyone experienced something similar when using Azure AD, or could there be additional configurations I should consider?
Any advice on how I can resolve this issue would be much appreciated!
Please let me know if you need more information about my configuration or logs to assist in troubleshooting.
Thanks in advance for your help!

