Uploaded image for project: 'OpenAM'
  1. OpenAM
  2. OPENAM-10223

Extra / in the getEndpoint when using jwt OAuth2 flow

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 13.5.1
    • Fix Version/s: 13.5.1
    • Component/s: oauth2
    • Labels:
    • Sprint:
      AM Sustaining Sprint 33
    • Story Points:
      1
    • Support Ticket IDs:

      Description

      When fixing OPENAM-9533, we refactored the baseURL getRealmURL.

      During functional tests, we found that the realmInfo.getRealmSubPath() could be prefixed by a /, resulting of concatenating an extra /

      if (StringUtils.isNotEmpty(realmInfo.getRealmSubPath())) {
                  return rootURL + basePath + "/" + realmInfo.getRealmSubPath();
      

      Note: This code has been refactored in master

      Solution:

      Detect this extra slash and remove it

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                quentin.castel Quentin CASTEL [X] (Inactive)
                Reporter:
                quentin.castel Quentin CASTEL [X] (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: