I added below dependency:
compile "org.apereo.cas:cas-server-support-json-service-registry:${project.'cas.version'}"
I'm testing on windows at the moment and added the following to cas.properties in d:/etc/cas/config
cas.serviceRegistry.json.location: file:D:/etc/cas/services
cas.serviceRegistry.initFromJson: true
I have following wildcard service Id in D:/etc/cas/services/localhost-2019030300010.json:
{
"@class" : "org.apereo.cas.services.RegexRegisteredService",
"serviceId" : ".*",
"name" : "localhost",
"id" : 1,
"evaluationOrder" : 1,
"accessStrategy" : {
"@class" : "org.apereo.cas.services.DefaultRegisteredServiceAccessStrategy",
"enabled" : true,
"ssoEnabled" : true
},
"attributeReleasePolicy" : {
"@class" : "org.apereo.cas.services.ReturnAllAttributeReleasePolicy"
}
}
I fire up my casified application and point it to my new cas install.
I am able to log into this new cas instance but it does not redirect me back to my application. It remains on the cas "Log In Successful" page with a message "...you are seeing this page because CAS does not know about your target destination and how to get you there..."
What am I missing here?
-psv