Uploaded image for project: 'Apache Knox'
  1. Apache Knox
  2. KNOX-718

KnoxSSO login page doesn't display any feedback on error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.4.0
    • KnoxSSO
    • None

    Description

      User does not get any warning for rejection due to whitelist when logging through KnoxSSO form based authentication. Refer logs below from gateway.log

      "2016-06-21 18:26:02,074 WARN service.knoxsso (WebSSOResource.java:init(89)) - The SSO cookie SecureOnly flag is set to FALSE and is therefore insecure.
       2016-06-21 18:26:02,076 INFO service.knoxsso (WebSSOResource.java:getCookieValue(265)) - Unable to find cookie with name: original-url
       2016-06-21 18:26:02,077 ERROR service.knoxsso (WebSSOResource.java:getAuthenticationToken(159)) - The original URL: http://<ranger_host>:6080/ for redirecting back after authentication is not valid according to the configured whitelist: ^https?:\/\/(localhost|127\.0\.0\.1|0:0:0:0:0:0:0:1|::1):[0-9].*$. See documentation for KnoxSSO Whitelisting."

      Here is an example of a webhdfs dispatch failing since WebHDFS is down:

      Attachments

        Issue Links

          Activity

            People

              krisden Kevin Risden
              kpandey Krishna Pandey
              Votes:
              0 Vote for this issue
              Watchers:
              4 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 - 20m
                  20m