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

OAuth client instantiation fails

    XMLWordPrintable

    Details

    • Rank:
      1|i01puf:
    • No
    • No
    • No
    • Yes and I used the same an in the description

      Description

      Bug description

      OAuth clients fail to be instantiated in for

      How to reproduce the issue

      Details steps outlining how to recreate the issue (remove this text)

      1. start forgeops
      2. configure social registration (tree config attached)
      3. configure a social provider
      4. attempt to call the Registration tree by navigating to https://default.iam.example.com/login/?realm=/#/service/Registration
      Expected behaviour
      200
      
      Current behaviour
      401
      
      java.lang.IllegalArgumentException: Cannot create an instance of oAuthClient
      

       

      Code analysis

      Placing a debug point at line 105 in org.forgerock.openam.auth.nodes.oauth.SocialOAuth2Helper reveals the underlying exception is 

      "javax.net.ssl.SSLHandshakeException: No X509TrustManager implementation available"

        Attachments

        1. attrCollect.png
          attrCollect.png
          41 kB
        2. google.png
          google.png
          117 kB
        3. redirectNode.png
          redirectNode.png
          38 kB
        4. socialReg.png
          socialReg.png
          103 kB

          Activity

            People

            phillcunnington Phill Cunnington
            ben.apple Ben Apple
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: