Hi, You're right about the behaviour : the link to "Authenticate at LinkedIn" is not directly pointed to LinkedIn, it's an internal link which requires the oauth10logincontroller. And also about the typo : I just fixed the wiki.
There is a problem with the LinkedIn support. I'm not sure if I fixed it in scribe-up 1.3.1 (CAS server uses scribe-up 1.2.0). If no, I think I can figure something out for that, maybe a 1.3.2 version ? At least, it's fixed for the new version 4.0 of the CAS server. Best regards, Jérôme 2013/8/26 Robert von Bismarck <[email protected]> > 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 > -- 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
