Re: [cas-user] Unauthorized Service Access. Service [] is not found in service registry

2020-09-25 Thread Christophe Delcour
thank you for the quick response ;-) here are the modules added in the build.gradle: implementation "org.apereo.cas:cas-server-support-json-service-registry:${casServerVersion}" implementation "org.apereo.cas:cas-server-support-ldap:${project.'cas.version'}" implementation

Re: [cas-user] Unauthorized Service Access. Service [] is not found in service registry

2020-09-25 Thread Marc MAURICE
You need that in build.gradle :     implementation "org.apereo.cas:cas-server-support-json-service-registry:${casServerVersion}" And that in cas.properties : cas.service-registry.json.location=file:///etc/cas/services Can you check? -- - Website: https://apereo.github.io/cas - Gitter

Re: [cas-user] Unauthorized Service Access. Service [] is not found in service registry

2019-06-28 Thread Andy Ng
Please show us the debug log and your service json, or else really hard to help you debug: To enable debug log, see https://apereo.github.io/cas/5.3.x/installation/Troubleshooting-Guide.html#review-logs Cheers! - Andy -- - Website: https://apereo.github.io/cas - Gitter Chatroom:

Re: [cas-user] Unauthorized Service Access. Service [] is not found in service registry

2019-06-27 Thread Trần Quang Long
when access to https://localhost:9443/oauth2.0/accessToken?grant_type=password_id=1961521961528350196152786046=xxx=123456789. i have got an error "Access Denied You do not have permission to view this page." On Friday, June 28, 2019 at 11:21:17 AM UTC+7, Tamnguyen wrote: > > Sorry for

Re: [cas-user] Unauthorized Service Access. Service [] is not found in service registry

2019-06-27 Thread Tam Nguyen
Sorry for mistake : cas.serviceRegistry.initFromJson=true cas.serviceRegistry.json.location=file:/etc/cas/services On Fri, Jun 28, 2019 at 11:08 AM Tam Nguyen wrote: > You try changed : serviceRegistry.json.location=classpath:/etc/cas/services > > >

Re: [cas-user] Unauthorized Service Access. Service [] is not found in service registry

2019-06-27 Thread Tam Nguyen
You try changed : serviceRegistry.json.location=classpath:/etc/cas/services serviceRegistry.json.location=/etc/cas/services And created services : https://apereo.github.io/cas/6.0.x/services/Configuring-Service-Access-Strategy.html On Fri, Jun 28, 2019 at 10:52 AM Trần Quang Long wrote: >