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

Add a configurable list of paths that SSOCookieProvider can ignore

    XMLWordPrintableJSON

Details

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

    Description

      There are some cases where browser sends automatic GET requests [1] (e.g. favicon.ico) that can interfere with KnoxSSO flow depending on the timing of the requests and cause SSO page to land on favicon icon.

      This could be achieved by adding a list of path for SSO to ignore using a property  gateway.knox.sso.unauthenticated.path.list

      e.g.

         <provider>
                 <role>federation</role>
                 <name>SSOCookieProvider</name>
                 <enabled>true</enabled>
                 <param>
                    <name>sso.authentication.provider.url</name>
                    <value>/gateway/knoxsso/api/v1/websso</value>
                 </param>
                 <param>
                    <name>sso.unauthenticated.path.list</name>
                    <value>favicon.ico;test;unsafepath</value>
                 </param>
          </provider>
       

      [1] https://bugs.chromium.org/p/chromium/issues/detail?id=39402

      Attachments

        Issue Links

          Activity

            People

              smore Sandeep More
              smore Sandeep More
              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 - 1h 50m
                  1h 50m