Created 12-20-2024 05:13 AM
Hi
I have integrated Secured Nifi with NGINX and is integrated with Onelogin SAML 2.0 Custom Connector (Advanced)
After entering credentials of one login it shows user logged in on onelogin portal,
But on Browser it redirects to /nifi-api/access/saml/login/consumer this url and
it shows
URI:STATUS:MESSAGE:
/nifi-api/access/saml/login/consumer |
401 |
Unauthorized |
Few findings are-
Recipient value in SAML payload is empty and
Cookie value is not matching with InResponseTo value in SAML Payload
Also not sure how to match it
from nifi.user.log file i can see error:
SAML Authentication Request Identifier Cookie not found
Can anyone please guide here?
Created 12-22-2024 09:45 AM
@rsurti
The issue described suggests a mismatch or misconfiguration in the SAML integration with NiFi and NGINX. The following analysis and potential solutions should address your findings
SAML Payload Issues:
NiFi Error: SAML Authentication Request Identifier Cookie not found:
NiFi Configuration:
NGINX Configuration:
OneLogin Configuration:
Ensure the nifi.properties file has the correct SAML configurations:
The nifi.security.user.saml.sp.base.url must match the Recipient value in the SAML response.
2. Check OneLogin SAML Connector Configuration
Add debug logging to check if cookies are being forwarded correctly.
Use a SAML debugging tool like SAML-tracer (browser extension) to inspect the SAML request/response flows before that enable debug
Let me know if you need further assistance! Happy hadooping
Created 01-14-2025 06:19 AM
Still not working
Created on 01-14-2025 06:20 AM - edited 01-14-2025 06:21 AM
Works for few users connected to Lan , but not working for user connect to wifi under same network
Created 01-20-2025 05:41 AM
If SAML authentication works for LAN users but not for users on Wi-Fi, even when both are on the same network, it suggests differences in how the network or devices are configured for each connection type.
Here’s how you can troubleshoot and resolve this issue:
DNS Resolution: Check if Wi-Fi users can resolve the identity provider (IdP) and service provider (SP) URLs correctly.
nslookup idp.example.com
Capture SAML requests/responses using browser developer tools (Network tab). Look for differences in:
Common issues include:
Connect a user to LAN and Wi-Fi simultaneously (if possible) to identify differences in routing or access.
Please revert Happy hadooping