Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-8697

If JWT Token no longer valid, cookie should be removed

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.14.0
    • Component/s: Core Framework, Core UI
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                markap14 Mark Payne
                Reporter:
                markap14 Mark Payne
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 40m
                  40m