Setting callbackurl for CAS using Identity Providers(facebook,twitter)

121 views
Skip to first unread message

Shubh Maheshwari

unread,
Oct 24, 2017, 6:17:57 AM10/24/17
to Pac4j users mailing list
Hello, 
     I am trying to integrate twitter and facebook in my CAS application. I am following the demo given: https://github.com/casinthecloud/cas-pac4j-oauth-demo/tree/master/cas-pac4j-oauth-client-demo
     I am new to CAS and I am having trouble with setting the callbackurl for the identity providers to return after authentication. (Its set to www.cas.example.org/cas/callback by default).

Jérôme LELEU

unread,
Oct 24, 2017, 10:09:18 AM10/24/17
to Shubh Maheshwari, Pac4j users mailing list
Hi,

Things have changed depending on the CAS server versions. The demo may be out-dated.


Thanks.
Best regards,
Jérôme


--
You received this message because you are subscribed to the Google Groups "Pac4j users mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pac4j-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Shubh Maheshwari

unread,
Oct 24, 2017, 6:44:15 PM10/24/17
to Pac4j users mailing list
 If i do not set facebook secret and key in application.properties, and instead use ApplicationContext.xml the application is unable to detect any Identity providers, whereas if I set the key and secret in application.properties then I am getting: [org.apereo.cas.support.pac4j.web.flow.ClientAction] - <Cannot process client #TwitterClient# | callbackUrl: https://cas.example.org:8080/cas/login?client_name=TwitterClient | configuration: #CasConfiguration# | loginUrl: https://localhost:8443/cas/login | prefixUrl: null | protocol: CAS30 | renew: false | gateway: false | encoding: UTF-8 | logoutHandler: null | acceptAnyProxy: false | allowedProxyChains: [] | proxyReceptor: null | timeTolerance: 1000 | |>

Also 

Jérôme LELEU

unread,
Oct 26, 2017, 4:07:06 AM10/26/17
to Shubh Maheshwari, Pac4j users mailing list
Reply all
Reply to author
Forward
0 new messages