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

Support backward compatibility to saml and oath loginResponse

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: 4 - Normal
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 7.0.0
    • Component/s: None
    • Labels:
    • Severity:
      Medium

      Description

      It’s about backward compatibility with the old SSO login response endpoints -

       

      oath: /artifactory/api/oauth2/loginResponse
      saml: /artifactory/api/saml/loginResponse

       

      So currently, in order for sso with oath and saml to work, you need to configure at the 3rd party a different endpoints than those above.

      These are the new endpoints -

       

      oath: /ui/api/v1/auth/oauth2/loginResponse

      saml: /ui/api/v1/auth/saml/loginResponse

       

      And then, the Front end service proxies these endpoints to new endpoints in Artifactory -

       

      oath: /artifactory/api/oauth2/loginResponsePlatform
      saml: /artifactory/auth/saml/loginResponsePlatform

       

       

      So, as I understand, the old endpoints are not being used anymore which gives us the ability to use them for backward compatibility.

      All that is needed is that the old endpoints, will redirect to the Frontend service endpoints.

       

      So...

      So the backward compatibility flow example will be:

      /artifactory/api/oauth2/loginResponse --> redirect to
      /ui/api/v1/auth/oauth2/loginResponse --> (pass through) to
      /artifactory/api/oauth2/loginResponsePlatform

        Attachments

          Activity

            People

            Assignee:
            barakh Barak Hacham
            Reporter:
            asafn Asaf Novak
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Sync Status

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