Are you directly accessing your site like this: https://www.example.com/cas
Instead of giving it a service param https://www.example.com/cas?service=https://www.yourpage.com If you want your website "https://www.example.com/cas" to have your logo, and not giving a service paramter you might check out this: https://apereo.github.io/cas/5.2.x/installation/Configuration-Properties.html#themes - Andy On Wednesday, 10 January 2018 22:22:12 UTC+8, noumann.f wrote: > > Hi, > > I'm running* cas v5.1.x* and I'd registered a test JSON service in the > file `/etc/cas/config/services/HTTPSandIMAPS-10001.json` and setup the > entry in the `cas.properties` file like this: > ... > cas.serviceRegistry.config.location=file:/etc/cas/config/services > ... > > > > Here is the file content: > { > /* > Generic service definition that applies to https/imaps urls > that wish to register with CAS for authentication. > */ > "@class" : "org.apereo.cas.services.RegexRegisteredService", > "serviceId" : "^(https|imaps)://.*", > "name" : "HTTPSandIMAPS", > "description" : "This ia a test registered service for everything.", > "logo" : " > https://d1e4pidl3fu268.cloudfront.net/66963e4a-ccba-4fdd-ba18-d5862fb4dba7/test.png > ", > "id" : 10001, > } > > And the log showed it's been loaded like in here: > > ... > > 2018-01-10 16:09:49,858 DEBUG [org.apereo.cas.services. > DefaultServicesManager] - <Loading services from [JsonServiceRegistryDao]> > 2018-01-10 16:09:49,860 DEBUG [org.apereo.cas.services. > DefaultServicesManager] - <Adding registered service [^(https|imaps): > //.*]> > 2018-01-10 16:09:49,860 INFO [org.apereo.cas.services. > DefaultServicesManager] - <Loaded [1] service(s) from [ > JsonServiceRegistryDao].> > > ... > > > What should I do to get the service details (meta data and logo) being > displayed in the login page !?? > > Regards, > > > > > -- - 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 [email protected]. To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/d1d864eb-6a9c-4d73-b34d-19cf7e111a5f%40apereo.org.
