Hi list,

I am currently trying to include linkedin via OAuth in my CAS setup.

I followed the doc at
https://wiki.jasig.org/display/CASUM/Configuration+for+the+OAuth+client+support+in+CAS+server+version+%3E%3D+3.5.1
and I get an empty "Authenticate with Linkedin" URL in my login page.

As I'm not really a Java EE hacker, from the docs and code, I assume
that this link gets auto-generated to request a token from LinkedIn
using the secret and key we got from LinkedIn in
ApplicationContext.xml, right ?

Secondly, from the code, I made the assumption that LinkedIn is
automagically setup as OAuth 1.0 and it will require the
oauth10logincontroller in cas-servlet.xml.

During config I had to change one thing in the linkedin provider bean
(probably a typo in the CAS wiki)

<bean id="linkedin" class="org.scribe.up.impl.LinkedInProvider">

To :

<bean id="linkedin" class="org.scribe.up.provider.impl.LinkedInProvider">


Details of the setup :

- CAS 3.5.2 as maven overlay
- scribe-up 1.2.0 as per the docs
- Tomcat 7.0.42 container
- Authenticationprovider is LDAP and works fine
- inmemory service registry for testing, but I will probably use JSON
service registry for production
- ehcache ticket registry shared between cluster nodes
- apache mod_proxy_ajp load-balancer on one node for testing, will use
hardware load-balancer for SSL offloading in production

Thanks for any hints as currently I'm a bit lost how to debug this.

Robert

-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to