I also turned on DEBUG log for org.pac4j. Even this https://github.com/leleuj/pac4j/blob/master/pac4j-cas/src/main/java/org/pac4j/cas/client/CasClient.java#L130
is not logged when I switch the casProtocol to SAML. Regards. -Ken On Wed, Apr 24, 2013 at 3:44 PM, Ken LAI <[email protected]> wrote: > Hi Jérôme, > > I tried the cas-pac4j-oauth-demo and when the client loads the CAS login > page, it stopped at > > ... > <a href="${CasClientUrl}">Authenticate with another CAS server using CAS > protocol</a><br /> > ... > > The debug log only showed: > > 2013-04-24 15:30:02,987 DEBUG > [org.jasig.cas.support.pac4j.web.flow.ClientAction] - <clientName : null> > 2013-04-24 15:30:02,987 DEBUG > [org.jasig.cas.support.pac4j.web.flow.ClientAction] - <FacebookClientUrl -> > https://www.facebook.com/dialog/oauth?client_id=153186971478756&redirect_uri=http%3A%2F%2Flocalhost%3A8080%2Fcas%2Flogin%3Fclient_name%3DFacebookClient&state=lJo6gCDbmq&scope=email%2Cuser_likes%2Cuser_about_me%2Cuser_birthday%2Cuser_education_history%2Cuser_hometown%2Cuser_relationship_details%2Cuser_location%2Cuser_religion_politics%2Cuser_relationships%2Cuser_work_history%2Cuser_website%2Cuser_photos%2Cuser_events%2Cuser_groups%2Cuser_actions.music > > > 2013-04-24 15:30:02,987 DEBUG > [org.jasig.cas.support.pac4j.web.flow.ClientAction] - <TwitterClientUrl -> > http://localhost:8080/cas/login?client_name=TwitterClient&needs_client_redirection=true > > > 2013-04-24 15:30:02,988 DEBUG > [org.jasig.cas.support.pac4j.web.flow.ClientAction] - > <CasOAuthWrapperClientUrl -> > http://localhost:8080/cas2/oauth2.0/authorize?client_id=this_is_the_key&redirect_uri=http%3A%2F%2Flocalhost%3A8080%2Fcas%2Flogin%3Fclient_name%3DCasOAuthWrapperClient > > > > No CasClient debug & error log is found. > > Regards, > -Ken > > > On Wed, Apr 24, 2013 at 2:18 PM, jleleu <[email protected]> wrote: > >> Hi, >> >> It should work : what do you mean by "failed to load" ? What error do you >> get ? >> Thanks, >> Jérôme >> >> -- >> 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-dev >> > > -- 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-dev
