Hi, I raised this same question a few months before as well, but now this has become a real issue. My CAS server is configured as an OAuths server. That means my clients connect to CAS through OAuth2.0 by issuing a cas/oauth2/0/authorize request. Also the same server is configured with "cas-server-support-pac4j" and "pac4j-oauth". This means my clients can log in to CAS server through facebook etc. The problem is when I try to log in through facebook, google etc..it displays the CAS is unavailable error message after loging in to the social network. The extract of the log is attached. What could be the issue.
============================================================= WHO: audit:unknown WHAT: TGT-18-EzIpvsOFt6HAAFg3bWZQ1c15b6l7ftySMEd3Az1LRHKFnzE0s4-passport.yatango.com ACTION: TICKET_GRANTING_TICKET_CREATED APPLICATION: CAS WHEN: Mon Mar 24 03:26:18 UTC 2014 CLIENT IP ADDRESS: 124.43.26.150 SERVER IP ADDRESS: 10.251.1.108 ============================================================= > |#] [#|2014-03-24T03:26:18.701+0000|INFO|glassfish3.1.2|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=59;_ThreadName=Thread-2;|2014-03-24 03:26:18,701 INFO [org.jasig.cas.CentralAuthenticationServiceImpl] - <Granted service ticket [ST-10-OQZyn5kf2ndBS1hc5e4d-passport.yatango.com] for service [https://????.com/cas/oauth2.0/callbackAuthorize] for user [115165125832412854137]> |#] [#|2014-03-24T03:26:18.702+0000|INFO|glassfish3.1.2|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=59;_ThreadName=Thread-2;|2014-03-24 03:26:18,702 INFO [com.github.inspektr.audit.support.Slf4jLoggingAuditTrailManager] - <Audit trail record BEGIN ============================================================= WHO: 115165125832412854137 WHAT: ST-10-OQZyn5kf2ndBS1hc5e4d-passport.yatango.com for https:// ??????.com/cas/oauth2.0/callbackAuthorize ACTION: SERVICE_TICKET_CREATED APPLICATION: CAS WHEN: Mon Mar 24 03:26:18 UTC 2014 CLIENT IP ADDRESS: 124.43.26.150 SERVER IP ADDRESS: 10.251.1.108 ============================================================= > |#] [#|2014-03-24T03:26:18.964+0000|INFO|glassfish3.1.2|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=60;_ThreadName=Thread-2;|2014-03-24 03:26:18,963 ERROR [org.jasig.cas.support.oauth.web.OAuth20CallbackAuthorizeController] - <oauth20_callbackUrl is missing from the session and can not be retrieved.> |#] The login to the social network seems to be ok. But there is an error in the last line. Regards Sashika. -- 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
