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

If JWT Token no longer valid, cookie should be removed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.14.0
    • Core Framework, Core UI
    • 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

              markap14 Mark Payne
              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