Just to clarify: service identifiers can be a regex. On Friday, February 22, 2019 at 5:07:16 AM UTC-7, Matthew Uribe wrote: > > I don't think you can use regex in the service id for SAML services. You > have to specify the service name exactly. > > On Fri, Feb 22, 2019, 2:31 AM Pameliya Mukherjee < > [email protected]> wrote: > >> I am using CAS 5.3.8. >> >> I have created the service like below and kept the file in >> etc\cas\services: >> >> { >> "@class" : "org.apereo.cas.services.RegexRegisteredService", >> "serviceId" : "^https://.+", >> "name" : "SAML Authentication Request", >> "id" : 20190219131300, >> "accessStrategy" : { >> "@class" : >> "org.apereo.cas.services.RemoteEndpointServiceAccessStrategy", >> "endpointUrl" : " >> https://cas.example.org/idp/profile/SAML2/Redirect/SSO", >> "acceptableResponseCodes" : "200,202" >> } >> } >> >> CAS properties like: >> cas.authn.samlIdp.entityId=https://cas.example.org/cas/idp >> cas.authn.samlIdp.scope=example.org >> >> >> On Friday, February 22, 2019 at 12:40:16 PM UTC+5:30, Pameliya Mukherjee >> wrote: >>> >>> While I am hitting an endpoint like : " >>> https://localhost:8443/cas/login?service=https://cas.example.org/cas/idp/profile/SAML2/Redirect/SSO&entityId=https://cas.org.example/cas/idp >>> >>> <https://urldefense.proofpoint.com/v2/url?u=https-3A__localhost-3A8443_cas_login-3Fservice-3Dhttps-3A__cas.example.org_cas_idp_profile_SAML2_Redirect_SSO-26entityId-3Dhttps-3A__cas.org.example_cas_idp&d=DwMFaQ&c=spdyCQlbcMzVK9-MvWb-WQ&r=auWoa16BPqAWqsx-0-lnCDVAVu-ZWi_vyIfKhfMtR_E&m=2YCJVsYZPvMMMJ_imkoWWQATbE0I5SM_YcxMA6Ok-s4&s=65M4s-1NAnXQFOaLjDvYHFveir0udwahv327wkyEhTk&e=> >>> " >>> >>> I am getting error like: >>> >>> 2019-02-22 12:31:13,015 WARN >>> [org.apereo.cas.web.flow.ServiceAuthorizationCheck] -<*Service >>> Management: missing service. Service >>> [https://cas.example.org/cas/idp/profile/SAML2/Redirect/SSO >>> <https://urldefense.proofpoint.com/v2/url?u=https-3A__cas.example.org_cas_idp_profile_SAML2_Redirect_SSO&d=DwMFaQ&c=spdyCQlbcMzVK9-MvWb-WQ&r=auWoa16BPqAWqsx-0-lnCDVAVu-ZWi_vyIfKhfMtR_E&m=2YCJVsYZPvMMMJ_imkoWWQATbE0I5SM_YcxMA6Ok-s4&s=q1LipHl7wjet4vbtJVeJ4tFAN62mAVjPRYceJotd8V8&e=>] >>> >>> is not found in service registry.>* >>> 2019-02-22 12:31:13,017 WARN >>> [org.apereo.cas.services.web.RegisteredServiceThemeResolver] - <*No >>> registered service is found to match >>> [AbstractWebApplicationService(id=https://cas.example.org/cas/idp/profile/SAML2/Redirect/SSO >>> >>> <https://urldefense.proofpoint.com/v2/url?u=https-3A__cas.example.org_cas_idp_profile_SAML2_Redirect_SSO&d=DwMFaQ&c=spdyCQlbcMzVK9-MvWb-WQ&r=auWoa16BPqAWqsx-0-lnCDVAVu-ZWi_vyIfKhfMtR_E&m=2YCJVsYZPvMMMJ_imkoWWQATbE0I5SM_YcxMA6Ok-s4&s=q1LipHl7wjet4vbtJVeJ4tFAN62mAVjPRYceJotd8V8&e=>, >>> >>> originalUrl=https://cas.example.org/cas/idp/profile/SAML2/Redirect/SSO >>> <https://urldefense.proofpoint.com/v2/url?u=https-3A__cas.example.org_cas_idp_profile_SAML2_Redirect_SSO&d=DwMFaQ&c=spdyCQlbcMzVK9-MvWb-WQ&r=auWoa16BPqAWqsx-0-lnCDVAVu-ZWi_vyIfKhfMtR_E&m=2YCJVsYZPvMMMJ_imkoWWQATbE0I5SM_YcxMA6Ok-s4&s=q1LipHl7wjet4vbtJVeJ4tFAN62mAVjPRYceJotd8V8&e=>, >>> >>> artifactId=null, principal=null, source=service, loggedOutAlready=false, >>> format=XML, attributes={})] or access is denied. Using default theme >>> [cas-theme-default]>* >>> >>> *Please Help. I am new to this.* >>> >>>
-- - 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/0b51dd1e-4034-41f1-8f6e-5fe257db29d7%40apereo.org.
