You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "David Handermann (Jira)" <ji...@apache.org> on 2024/05/24 18:26:00 UTC

[jira] [Resolved] (NIFI-4986) Knox SSO token expiry handling (NiFi + Knox + SSO)

     [ https://issues.apache.org/jira/browse/NIFI-4986?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Handermann resolved NIFI-4986.
------------------------------------
    Resolution: Won't Fix

> Knox SSO token expiry handling (NiFi + Knox + SSO)
> --------------------------------------------------
>
>                 Key: NIFI-4986
>                 URL: https://issues.apache.org/jira/browse/NIFI-4986
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Core UI
>    Affects Versions: 1.5.0
>            Reporter: Jeff Storck
>            Priority: Major
>
> When NiFi is proxied through Knox using the SSOCookieProvider, the NiFi UI can not determine when the Knox SSO token has expired.
> The NiFI UI attempts to make API calls through Knox via XHRs (XMLHttpRequests), which end up receiving the Knox SSO login page as the response if the Knox SSO token has expired.  Knox will be patched for this via [https://issues.apache.org/jira/browse/KNOX-1210|KNOX-1210], and a 401 will be returned by the call to Knox if the token has expired.
> The NiFi UI will need a way to allow the user to log in through the KnoxSSO again after receiving a 401 in this scenario.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)