Re: [cas-user] google,Yahoo and LinkedIn config for CAS 4.

2014-01-20 Thread Jérôme LELEU
Sure. Inside the CAS server, one authentication attribute stores the provider used for authentication: https://github.com/Jasig/cas/blob/master/cas-server-support-pac4j/src/main/java/org/jasig/cas/support/pac4j/authentication/ClientAuthenticationMetaDataPopulator.java#L47 . Moreover, the principa

Re: [cas-user] google,Yahoo and LinkedIn config for CAS 4.

2014-01-19 Thread Sashika
Thanks, it works perfectly now. Once the CAS is authenticated through facebook/twitter is there a way which we can identify from which social network the user logged in? Because in the oauth2.0/profile JSON we do not have that information. Thanks On Fri, Jan 17, 2014 at 8:01 PM, Jérôme LELEU wr

Re: [cas-user] google,Yahoo and LinkedIn config for CAS 4.

2014-01-17 Thread Jérôme LELEU
Hi, Indeed. The problem has been fixed both on pac4j 1.4.2-SNAPSHOT (bug fixes version) and pac4j 1.5.0-SNAPSHOT (next version). It should work using pac4j 1.4.2-SNAPSHOT instead of pac4j 1.4.1 which is automatically retrieved with the CAS server 4.0. Best regards, Jérôme 2014/1/17 Sashika >

Re: [cas-user] google,Yahoo and LinkedIn config for CAS 4.

2014-01-16 Thread Sashika
After twitter changing their api access to SSL/TLS on 14th Jan, CAS cannot login through Twitter. The exception is as below. StandardWrapperValve[cas]: PWC1406: Servlet.service() for servlet cas threw exception org.scribe.exceptions.OAuthException: Response body is incorrect. Can't extract token a

Re: [cas-user] google,Yahoo and LinkedIn config for CAS 4.

2014-01-13 Thread Jérôme LELEU
Hi, The documentation for OAuth client support in CAS 4.0 is here: https://wiki.jasig.org/pages/viewpage.action?pageId=56164890. It's pretty similar between 3.5 and 4.0, except that the classes has been renamed from *Provider to *Client. Here is the Javadoc for clients: http://www.pac4j.org/apidoc

[cas-user] google,Yahoo and LinkedIn config for CAS 4.

2014-01-12 Thread Sashika
For 3.5 I can find the config for Google, Yahoo and LinkedIn through the below url https://wiki.jasig.org/display/CASUM/Configuration+for+the+OAuth+client+support+in+CAS+server+version+3.5.0 But for CAS version 4 I cant find what are the config for these three logins. Can anyone please show me the