Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-16649

Xray SSO login fails with 403 error due to wrong CSRF detection

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: 2 - Critical
    • Resolution: Done
    • Affects Version/s: 6.1.0
    • Fix Version/s: 6.6.0
    • Component/s: None
    • Labels:
    • Severity:
      Critical

      Description

      Scenario:

      • Connect Artifactory to Xray
      • Set Artifactory as Authentication Provider
      • Open Artifactory login page
      • Open Xray login page on diffrent tab
      • Login to Artifactory
      • Login to Xray (SSO) using SAML
      • Got the following message in the browser:
      // 20180508202402
      // http://10.70.30.103/artifactory/webapp/saml/loginResponse
      
      {
        "errors": Array[1][
          {
            "status": 403,
            "message": "Request was blocked. Please refer to access.log"
          }
        ]
      }
      

      In access.log can see the following:

      2018-05-08 17:24:02,320 [DENIED DISAPPROVE] Cross-Site Request Forgery for danielk.
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              matang Matan Gotlieb
              Reporter:
              danielk Daniel Keler
              Votes:
              5 Vote for this issue
              Watchers:
              10 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Sync Status

                  Connection: RTFACT Sync
                  RTMID-16649 -
                  SYNCHRONIZED
                  • Last Sync Date: