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

[saml] Wrong AssertionConsumerServiceURL error

    Details

    • Similar Issues:

      Description

      Followed this article: https://3dsim.github.io/securing-jenkins-with-auth0/ to configure Auth0 in Jenkins.

      When try to login, Auth0 displays below error:

      Type: Failed Login
      Description: The SAML Request AssertionConsumerServiceURL is invalid: 'http://jenkins:8080/securityRealm/finishLogin'
       
      When testing Auth0 using their own debug function everything appear to be working.

      Auth0 Allowed Callback URLs is configured with a correct URL.

      jenkins:8080 doesn't appear anywhere in Jenkins, not in XML file from Auth0, not in config.xml file.

        Attachments

          Activity

          Hide
          tr53 Adam P added a comment -

          Under Manage Jenkins / Configuration / Jenkins Location / Jenkins URL wasn't correctly set.

          Show
          tr53 Adam P added a comment - Under Manage Jenkins / Configuration / Jenkins Location / Jenkins URL wasn't correctly set.
          Hide
          ifernandezcalvo Ivan Fernandez Calvo added a comment -

          it is in the troubleshooting guide https://github.com/jenkinsci/saml-plugin/blob/master/doc/TROUBLESHOOTING.md#no-valid-subject-assertion-found-in-response, the JENKINS_URL matters to validate the SAMLResponse

          Show
          ifernandezcalvo Ivan Fernandez Calvo added a comment - it is in the troubleshooting guide https://github.com/jenkinsci/saml-plugin/blob/master/doc/TROUBLESHOOTING.md#no-valid-subject-assertion-found-in-response , the JENKINS_URL matters to validate the SAMLResponse

            People

            • Assignee:
              tr53 Adam P
              Reporter:
              tr53 Adam P
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: