Hi,
I'm trying to get CAS running as an OAuth server. It running fine as a CAS
server.
I've included 'compile
"org.apereo.cas:cas-server-support-oauth-webflow:${project.'cas.version'}"'
in the build.gradle file for cas.version 5.0.4.
Breaking open the war file I can see the relevant jars have been included.
I've include a service registry entry based on the JSON example and am
loading the services from a directory.
When I start cas within Tomcat 8.5 I get the following error:
Caused by: com.fasterxml.jackson.databind.exc.InvalidTypeIdException: Could
not resolve type id
'org.apereo.cas.support.oauth.services.OAuthRegisteredService' into a
subtype of [simple type, class org.apereo.cas.services.RegisteredService]:
no such class found
at [Source:
{"@class":"org.apereo.cas.support.oauth.services.OAuthRegisteredService","clientId":"clientid","clientSecret":"clientSecret","bypassApprovalPrompt":false,"serviceId":"^(https|imaps)://hello.*","name":"HTTPS
and IMAPS","id":105}; line: 1, column: 11]
Again, I've confirmed that the class is present with the OAuth-core jar
within the war.
I'm not sure what to do from here and advice will be gratefully received.
Paul.
--
- CAS gitter chatroom: https://gitter.im/apereo/cas
- CAS mailing list guidelines: https://apereo.github.io/cas/Mailing-Lists.html
- CAS documentation website: https://apereo.github.io/cas
- CAS project website: https://github.com/apereo/cas
---
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/CAGvhSLRNnWkvN%2BEBcYZVSj685Q7js-Yf2zsYioiW2kt%3DTaOaaQ%40mail.gmail.com.