Hello, the following warning is coming out in my logs:

* 
[org.apereo.cas.services.DefaultRegisteredServiceDelegatedAuthenticationPolicy] 
- *
*<Registered service [name] does not define any authorized/supported 
delegated authentication providers. It is STRONGLY recommended that you 
authorize and assign providers to the service definition. While just a 
warning for now, this behavior will be enforced by CAS in future versions.>*

The problem is that the production log is filling up very quickly for this 
issue.
I have my service configured as follows:


{
    "@class": "org.apereo.cas.services.RegexRegisteredService",
    "serviceId": "^(http|https)://(.*)URL(.*)",
    "name": "name",
    "id": 003,
    "description": " ",
    "theme" : "Theme",
    "accessStrategy" : {
    "@class" : 
"org.apereo.cas.services.DefaultRegisteredServiceAccessStrategy",
    "enabled" : true,
    "ssoEnabled" : true
    },    
     "delegatedAuthenticationPolicy" : {
      "@class" : 
"org.apereo.cas.services.DefaultRegisteredServiceDelegatedAuthenticationPolicy",
      "allowedProviders" : [[ "Facebook", "Twitter" ] ],
      "permitUndefined": true,
     },    
     "singleSignOnParticipationPolicy" : {
      "@class": 
"org.apereo.cas.services.ChainingRegisteredServiceSingleSignOnParticipationPolicy",
      "policies": [
        "java.util.ArrayList",
        [
          {
            "@class": 
"org.apereo.cas.services.AuthenticationDateRegisteredServiceSingleSignOnParticipationPolicy",
            "timeUnit": "SECONDS",
            "timeValue": 2592000,
            "order": 0
          }
        ]
      ],
     "createCookieOnRenewedAuthentication": "TRUE"
    },
    "properties" : {
    "@class" : "java.util.HashMap",
    "httpHeaderEnableXFrameOptions" : {
      "@class" : "org.apereo.cas.services.DefaultRegisteredServiceProperty",
      "values" : [ "java.util.HashSet", [ "true" ] ]
    }
  }
    
}


I have the REST, Facebook and google login enabled.

I have the Delegated Authentication Policy enabled in the service, can you 
help me see what error I am making?

Thank you very much in advance!

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cas-user+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/1a41e5c3-2568-4b7e-be8d-35181abe37d4n%40apereo.org.

Reply via email to