Uploaded image for project: 'Single Sign On'
  1. Single Sign On
  2. MGNLSSO-80

JSONArray library conflict

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Low Low
    • 2.0.4
    • 2.0
    • None
    • None

      The code from pac4j-config-4.5.2 has a dependency on com.nimbusds lib in OidcClientBuilder.

      When trying to satisfy the dependency it creates a conflict with the JSONArray library. Our code brings in net.minidev.json.JSONArray while nimbusds has its own version com.nimbusds.jose.shaded.json.JSONArray.

      We should remove the hard dependency to net.minidev and instead use the common List interface which would allow either JSONArray class to work.

      Notes
      Issue caused by nimbus v9. Use v8.22.

        Acceptance criteria

              efochr Evzen Fochr
              rgange Richard Gange
              AdminX
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD