Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-46098

SAMLException on login Identity provider has no single sign on service available

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • saml-plugin
    • jenkins 2.60.2 LTS, saml-plugin 1.0.3, centos 7, Oracle JDK 1.8.0_u144

      We try to use saml plugin 1.0.3 with a openam server which provides the idp. When we click on login link in jenkins we've an Ooops exception like :

       

      Stack trace
      org.pac4j.saml.exceptions.SAMLException: Identity provider has no single sign on service available for the selected profileorg.opensaml.saml.saml2.metadata.impl.IDPSSODescriptorImpl@78a4076d at org.pac4j.saml.context.SAML2MessageContext.getIDPSingleSignOnService(SAML2MessageContext.java:93) at org.pac4j.saml.sso.impl.SAML2AuthnRequestBuilder.build(SAML2AuthnRequestBuilder.java:70) at org.pac4j.saml.sso.impl.SAML2AuthnRequestBuilder.build(SAML2AuthnRequestBuilder.java:34)
      

       

       

      IDP Metadata checked successfully in security configuration.

      2 files are created on JENKINS_HOME :

      rw-rw---   3634 Aug  9 17:00 saml-idp.metadata.xml
      rw-rw---   5278 Aug  9 17:09 saml-sp-metadata.xml

        1. config_saml_plugin.PNG
          config_saml_plugin.PNG
          35 kB
        2. finest_logs_saml_plugin.log
          4 kB
        3. jenkins.log
          8 kB
        4. Metadata_SP_jenkins.xml
          3 kB
        5. METADATAS-IDP.xml
          2 kB
        6. saml_plugin_logger.log
          4 kB
        7. SAMLException_Login.PNG
          SAMLException_Login.PNG
          24 kB

            ifernandezcalvo Ivan Fernandez Calvo
            bleboeuf Bart LEBOEUF
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: