What do your properties and such look like? If it helps any, I have a quick and dirty sample I've been fiddling with at https://github.com/michaeljmcd/angular-sso-experiments/tree/master/cas-example/cas-overlay-template-master. It has OAuth 2.0 and Open ID Connect enabled and runs on Tomcat 8.5.12.
On Thu, Apr 20, 2017 at 3:46 AM, Paul Mitchell <[email protected]> wrote: > 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 > <https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAGvhSLRNnWkvN%2BEBcYZVSj685Q7js-Yf2zsYioiW2kt%3DTaOaaQ%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- - 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/CAEC-AL3c_YvQJKKh-_UnkJzjK-wV_sVS-Gm-8UgZZr3ZX9CEzA%40mail.gmail.com.
