CAS SAML with miniOrange SAML metadata issue

25 views
Skip to first unread message

Papeace Ndiaye

unread,
Oct 31, 2024, 10:04:38 AM10/31/24
to CAS Community
Hello i configure SAML with Shibboleth it's working fine but when i use minorange plugin SAML i always have this error
2024-10-31 13:23:38,157 ERROR [org.apereo.cas.support.saml.services.idp.metadata.SamlRegisteredServiceServiceProviderMetadataFacade] - <Unable to locate a valid SAML metadata resolver for https://moodle.exemple.com/auth/mo_saml/index.php?option=mosaml_metadata to locate [EntityRoleCriterion [role={urn:oasis:names:tc:SAML:2.0:metadata}SPSSODescriptor], EntityIdCriterion [id=https://moodle.exemple.com]]
        SamlRegisteredServiceDefaultCachingMetadataResolver.java:lambda$resolve$1:94
        RetryTemplate.java:doExecute:329
        RetryTemplate.java:execute:209
my service moodlesaml-22233344.json

{
  "@class" : "org.apereo.cas.support.saml.services.SamlRegisteredService",
  "serviceId" : "https://moodle.exemple.com",
  "name" : "SAML SERVICE",
  "id" : 222333444,
  "metadataLocation" : "https://moodle.exemple.com/auth/mo_saml/index.php?option=mosaml_metadata",
  "attributeReleasePolicy" : {
    "@class" : "org.apereo.cas.services.ReturnMappedAttributeReleasePolicy",
    "allowedAttributes" : {
      "@class" : "java.util.TreeMap",
      "cn" : "urn:oid:2.5.4.3",
      "displayName" : "urn:oid:2.16.840.1.113730.3.1.241",
      "givenName" : "urn:oid:2.5.4.42",
      "mail" : "urn:oid:0.9.2342.19200300.100.1.3",
      "sn" : "urn:oid:2.5.4.4",
      "uid" : "urn:oid:0.9.2342.19200300.100.1.1",
    }
  }
}

Ray Bon

unread,
Oct 31, 2024, 10:44:42 PM10/31/24
to cas-...@apereo.org
Papeace,

If you put the metadata url in your browser, you should see the metadata.
Is it possible that miniorange is blocking that url?

Ray

On Thu, 2024-10-31 at 06:52 -0700, Papeace Ndiaye wrote:
You don't often get email from papeac...@gmail.com. Learn why this is important
Reply all
Reply to author
Forward
0 new messages