[
https://issues.apache.org/jira/browse/NIFI-8697?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17363184#comment-17363184
]
ASF subversion and git services commented on NIFI-8697:
-------------------------------------------------------
Commit 576338cd55ea01a0b00952f486d063ee67b7ee13 in nifi's branch
refs/heads/main from Mark Payne
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=576338c ]
NIFI-8697: When login endpoint is encountered and JWT is no longer valid,
request cookie to be deleted. Also fixed NPE that was encountered when going to
/logout without the expected cookie being present
Signed-off-by: Nathan Gough <[email protected]>
This closes #5155.
> If JWT Token no longer valid, cookie should be removed
> ------------------------------------------------------
>
> Key: NIFI-8697
> URL: https://issues.apache.org/jira/browse/NIFI-8697
> Project: Apache NiFi
> Issue Type: Bug
> Components: Core Framework, Core UI
> Reporter: Mark Payne
> Assignee: Mark Payne
> Priority: Major
> Fix For: 1.14.0
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> I was able to successfully login to my NiFi instance. I then shutdown and
> deleted the database_repository directory. Upon restart, I was able to login
> to NiFi, as the JWT token was no longer valid. However, going to /logout
> didn't remove the token either.
> If the JWT Token is no longer valid when attempting to login, the endpoint
> should request that the cookie be deleted. In fact, going to /logout actually
> threw a NullPointerException.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)