Said,

Some of the property names may have changed.
Run this command to get the list of all properties:

./gradlew exportConfigMetadata

then search for the properties you are using.

See, 
https://github.com/apereo/cas-overlay-template/tree/6.5#configuration-metadata

Ray

On Tue, 2022-05-03 at 05:08 -0700, Said b wrote:
Notice: This message was sent from outside the University of Victoria email 
system. Please be cautious with links and sensitive information.


Hello,

I am using OpenID connect with CAS 6.1.7. I installed CAS 6.5.3 in test, but I 
get an error (Application not authorized to use CAS) while the service file is 
identical. Is there a configuration change between 6.1 and 6.5? I don't see 
anything in the documentation.
Service file :
{
  "id": 1624798320,
  "name": "AppOIDC",
  "description": "mobile app",
  "evaluationOrder":99,
  "@class": "org.apereo.cas.services.OidcRegisteredService",
  "supportedGrantTypes": [
    "java.util.HashSet",
    [
      "authorization_code",
      "refresh_token"
    ]
  ],
  "clientId": "mobileapp",
  "clientSecret": "xxxxxxxxxxxxxxxxxxxxxxxxxx",
  "serviceId": "^https://service.callback.oauth.domain.com$";,
  "scopes": [
    "java.util.HashSet",
    [
      "profile",
      "email",
      "offline_access"
    ]
  ]
    "attributeReleasePolicy" : {
                "@class" : 
"org.apereo.cas.services.ReturnAllowedAttributeReleasePolicy",
                "allowedAttributes" : [ "java.util.ArrayList", ["sn", 
"givenName" ] ]

        },
}

Regards.


--

Ray Bon
Programmer Analyst
Development Services, University Systems
2507218831 | CLE 019 | [email protected]<mailto:[email protected]>

I acknowledge and respect the lək̓ʷəŋən peoples on whose traditional territory 
the university stands, and the Songhees, Esquimalt and WSÁNEĆ peoples whose 
historical relationships with the land continue to this day.

-- 
- 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/b2c1e72d4e772cd0546ce898cf76ea5cace25b26.camel%40uvic.ca.

Reply via email to