Or rather

serviceId : <entityId>

instead of the regex you have there.

On Mon, 2021-04-12 at 18:50 +0000, 'Richard Frovarp' via CAS Community wrote:
Don't do a regex for the serviceId for SAML2. Do the entityId instead.

On Mon, 2021-04-12 at 18:46 +0000, Keith Alston (Staff) wrote:

Any ideas on what might be going on here?
I get the "Application Not Authorized to Use CAS" page when redirected to CAS.

2021-04-12 14:21:32,474 WARN 
[org.apereo.cas.services.web.RegisteredServiceThemeResolver] - <No registered 
service is found to match 
[AbstractWebApplicationService(id=https://regent-team.myfreshworks.com/sp/SAML/269126576089314274/callback,
 
originalUrl=https://regent-team.myfreshworks.com/sp/SAML/26912657608931/callback,
 artifactId=null, principal=null, source=AssertionConsumerServiceURL, 
loggedOutAlready=true, format=XML, attributes={})] or access is denied. Using 
default theme [cas-theme-default]>


here's my service file:

{
  "@class" : "org.apereo.cas.support.saml.services.SamlRegisteredService",
  "serviceId" : "^(https|http)://regent-team.myfresh*",
  "name" : "freshregistrar",
  "id" : 1608070210,
  "metadataLocation" : 
"https://regent-team.myfreshworks.com/sp/SAML/26912657608931/metadata";,
  "evaluationOrder" : 17,
  "requiredNameIdFormat": "urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified
",
  "attributeReleasePolicy" : {
    @class : org.apereo.cas.services.ReturnAllowedAttributeReleasePolicy
    allowedAttributes :  [ "java.util.ArrayList", [ 
"firstname","lastname","email","nameid","phone","mobile","title" ]]
  },
}




Keith Alston
Regent University
IT Department
[email protected]
757.619.3421

-- 
- 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/352786e3eebfc4d4945fd0f91e9612ff0e489a0b.camel%40ndsu.edu.

Reply via email to