Hi,
I have a CAS 5.0.3 maven overlay that includes one RegexRegisteredService and one SamlRegisteredService, and dependencies for cas-server-support-ldap, cas-server-support-basic and cas-server-support-saml-idp. It is deployed in an external Tomcat 8. This works as expected and I can successfully log in my services that use CAS protocol and SAML2.
As soon as I add the dependency for cas-server-support-oauth-webflow in the pom, I can no longer log in my two services. When I'm redirected to CAS, I immediately get an error instead of the login form. I have not changed anything in the service registry.
The log message for CAS protocol:
2017-02-21 15:57:57,030 WARN [org.apereo.cas.web.flow.ServiceAuthorizationCheck] - <Service Management: missing service. Service [<my service URL>] is not found in service registry.>
The log message for the SAML service
2017-02-21 16:00:04,659 WARN [org.apereo.cas.support.saml.web.idp.profile.SSOPostProfileHandlerController] - <[spring.test] is not found in the registry or service access is denied. Ensure service is registered in service registry>
As soon as I remove the cas-server-support-oauth-webflow dependency, login works again.
Is it not possible to use OAuth2 in parallel with other protocols?
Any help appreciated,
Udo