kkyen Absent Member.
Absent Member.
619 views

NAM4.4 Social Authentication with Facebook

Dear Guys,

I'm setting up a demo run with social authentication using facebook. However on the trial run, after user logins from facebook, the browser just loop or stuck on nidp site. Error messages from catalina as follows, any idea?

Mar 20, 2019 4:41:17 PM org.brickred.socialauth.SocialAuthManager connect
INFO: Connecting provider : facebook
Mar 20, 2019 4:41:17 PM org.brickred.socialauth.provider.FacebookImpl doVerifyResponse
INFO: Retrieving Access Token in verify response function
Mar 20, 2019 4:41:17 PM org.brickred.socialauth.oauthstrategy.OAuth2 verifyResponse
INFO: Verifying the authentication response from provider
<amLogEntry> 2019-03-20T08:41:46Z WARNING NIDS Application: Exception provisioning a Social Authenticated User: org.brickred.socialauth.exception.SocialAuthException: Error in url : https://graph.facebook.com/oauth/access_token?client_id=345513532746397&redirect_uri=https%3A%2F%2Fslogin.ouhk.edu.hk%2Fnidp%2Fjsp%2Fsocialauth_return.jsp&client_secret=557117624826633e298cb346b341efc1&code=AQBJ91hH9rAK7Vo1JYkeI3_FhOKH7x2ung1XJKHI-CKxoGOa9QlL-7Qe7_0kTCHndswZng1o0d6MK-saiDmE_KkMyUqSxeGRnk64K6rYwNlq1Rq7lh9NMbuaQu8fs83crUyGVQuhZL8juL1f-zEoCgFsMrNZn4lBbTbF5z1DmO3Iu3hbqx22o0uVUIWutxe_5...
Exception message: "Error in url : https://graph.facebook.com/oauth/access_token?client_id=345513532746397&redirect_uri=https%3A%2F%2Fslogin.ouhk.edu.hk%2Fnidp%2Fjsp%2Fsocialauth_return.jsp&client_secret=557117624826633e298cb346b341efc1&code=AQBJ91hH9rAK7Vo1JYkeI3_FhOKH7x2ung1XJKHI-CKxoGOa9QlL-7Qe7_0kTCHndswZng1o0d6MK-saiDmE_KkMyUqSxeGRnk64K6rYwNlq1Rq7lh9NMbuaQu8fs83crUyGVQuhZL8juL1f-zEoCgFsMrNZn4lBbTbF5z1DmO3Iu3hbqx22o0uVUIWutxe_5A8MzwG2rtVAVoHuGsqKLYpqYyRAq3gnYClcSIeU2I4g0LVEEoQS7HbbBE8Iil7lcA_7iZ7xscN-vFwHkXRHEZqbXpt2kPu57pSmIBuGn2q9UgrUWyJsj9nr4AH5Gg9HMIFx96rGuo97U37_J7T65z4d&grant_type=authorization_code"
OAuth2.java, Line: 187, Method: verifyResponse
OAuth2.java, Line: 114, Method: verifyResponse
FacebookImpl.java, Line: 194, Method: doVerifyResponse
FacebookImpl.java, Line: 184, Method: verifyResponse
SocialAuthManager.java, Line: 184, Method: connect
y, Line: 1928, Method: C
y, Line: 2928, Method: N
y, Line: 730, Method: doAuthenticate
y, Line: 1612, Method: authenticate
y, Line: 1066, Method: A
y, Line: 343, Method: doContract
y, Line: 3514, Method: exec
y, Line: 1503, Method: execute
y, Line: 3262, Method: A
y, Line: 2894, Method: executeContract
y, Line: 1665, Method: A
y, Line: 1850, Method: login
y, Line: 3356, Method: handleLogin
y, Line: 2306, Method: handleRequest
y, Line: 1254, Method: myDoGet
y, Line: 3180, Method: doGet
HttpServlet.java, Line: 622, Method: service
HttpServlet.java, Line: 729, Method: service
ApplicationFilterChain.java, Line: 292, Method: internalDoFilter
ApplicationFilterChain.java, Line: 207, Method: doFilter
WsFilter.java, Line: 52, Method: doFilter
ApplicationFilterChain.java, Line: 240, Method: internalDoFilter
ApplicationFilterChain.java, Line: 207, Method: doFilter
FilterChainInvocation.java, Line: 66, Method: doFilter
FilterDefinition.java, Line: 168, Method: doFilter
FilterChainInvocation.java, Line: 58, Method: doFilter
ManagedFilterPipeline.java, Line: 118, Method: dispatch
GuiceFilter.java, Line: 113, Method: doFilter
ApplicationFilterChain.java, Line: 240, Method: internalDoFilter
ApplicationFilterChain.java, Line: 207, Method: doFilter
y, Line: 366, Method: doFilter
ApplicationFilterChain.java, Line: 240, Method: internalDoFilter
ApplicationFilterChain.java, Line: 207, Method: doFilter
HttpHeaderSecurityFilter.java, Line: 124, Method: doFilter
ApplicationFilterChain.java, Line: 240, Method: internalDoFilter
ApplicationFilterChain.java, Line: 207, Method: doFilter
y, Line: 1738, Method: doFilter
ApplicationFilterChain.java, Line: 240, Method: internalDoFilter
ApplicationFilterChain.java, Line: 207, Method: doFilter
StandardWrapperValve.java, Line: 212, Method: invoke
StandardContextValve.java, Line: 94, Method: invoke
AuthenticatorBase.java, Line: 496, Method: invoke
StandardHostValve.java, Line: 141, Method: invoke
ErrorReportValve.java, Line: 79, Method: invoke
StandardEngineValve.java, Line: 88, Method: invoke
CoyoteAdapter.java, Line: 502, Method: service
AbstractHttp11Processor.java, Line: 1132, Method: process
AbstractProtocol.java, Line: 684, Method: process
NioEndpoint.java, Line: 1539, Method: doRun
NioEndpoint.java, Line: 1495, Method: run
ThreadPoolExecutor.java, Line: 1149, Method: runWorker
ThreadPoolExecutor.java, Line: 624, Method: run
TaskThread.java, Line: 61, Method: run
Thread.java, Line: 748, Method: run
</amLogEntry>
0 Likes
6 Replies
ScorpionSting Absent Member.
Absent Member.

Re: NAM4.4 Social Authentication with Facebook

kkyen;2497100 wrote:
Dear Guys,

I'm setting up a demo run with social authentication using facebook. However on the trial run, after user logins from facebook, the browser just loop or stuck on nidp site. Can't see any helpful messages from catalina as follows, any idea?

Mar 20, 2019 2:52:57 PM org.brickred.socialauth.provider.FacebookImpl registerPlugins
INFO: Loading plugins
Mar 20, 2019 2:52:57 PM org.brickred.socialauth.provider.FacebookImpl registerPlugins
INFO: Loading plugin :: org.brickred.socialauth.plugin.facebook.AlbumsPluginImpl
Mar 20, 2019 2:52:57 PM org.brickred.socialauth.provider.FacebookImpl registerPlugins
INFO: Loading plugin :: org.brickred.socialauth.plugin.facebook.FeedPluginImpl
Mar 20, 2019 2:52:57 PM org.brickred.socialauth.oauthstrategy.OAuth2 getLoginRedirectURL
INFO: Determining URL for redirection
Mar 20, 2019 2:52:57 PM org.brickred.socialauth.oauthstrategy.OAuth2 getLoginRedirectURL
INFO: Redirection to following URL should happen : https://graph.facebook.com/oauth/authorize?client_id=345513532746397&response_type=code&redirect_uri=https%3A%2F%2Fslogin.ouhk.edu.hk%2Fnidp%2Fjsp%2Fsocialauth_return.jsp&scope=email
Mar 20, 2019 2:52:58 PM org.brickred.socialauth.SocialAuthManager connect
INFO: Connecting provider : facebook
Mar 20, 2019 2:52:58 PM org.brickred.socialauth.provider.FacebookImpl doVerifyResponse
INFO: Retrieving Access Token in verify response function
Mar 20, 2019 2:52:58 PM org.brickred.socialauth.oauthstrategy.OAuth2 verifyResponse
INFO: Verifying the authentication response from provider
Mar 20, 2019 2:53:27 PM org.brickred.socialauth.provider.FacebookImpl registerPlugins
INFO: Loading plugins
Mar 20, 2019 2:53:27 PM org.brickred.socialauth.provider.FacebookImpl registerPlugins
INFO: Loading plugin :: org.brickred.socialauth.plugin.facebook.AlbumsPluginImpl
Mar 20, 2019 2:53:27 PM org.brickred.socialauth.provider.FacebookImpl registerPlugins
INFO: Loading plugin :: org.brickred.socialauth.plugin.facebook.FeedPluginImpl
Mar 20, 2019 2:53:27 PM org.brickred.socialauth.oauthstrategy.OAuth2 getLoginRedirectURL
INFO: Determining URL for redirection
Mar 20, 2019 2:53:27 PM org.brickred.socialauth.oauthstrategy.OAuth2 getLoginRedirectURL
INFO: Redirection to following URL should happen : https://graph.facebook.com/oauth/authorize?client_id=345513532746397&response_type=code&redirect_uri=https%3A%2F%2Fslogin.ouhk.edu.hk%2Fnidp%2Fjsp%2Fsocialauth_return.jsp&scope=email
Mar 20, 2019 2:53:28 PM org.brickred.socialauth.SocialAuthManager connect
INFO: Connecting provider : facebook
Mar 20, 2019 2:53:28 PM org.brickred.socialauth.provider.FacebookImpl doVerifyResponse
INFO: Retrieving Access Token in verify response function
Mar 20, 2019 2:53:28 PM org.brickred.socialauth.oauthstrategy.OAuth2 verifyResponse
INFO: Verifying the authentication response from provider
Mar 20, 2019 2:53:57 PM org.brickred.socialauth.provider.FacebookImpl registerPlugins
INFO: Loading plugins
Mar 20, 2019 2:53:57 PM org.brickred.socialauth.provider.FacebookImpl registerPlugins
INFO: Loading plugin :: org.brickred.socialauth.plugin.facebook.AlbumsPluginImpl
Mar 20, 2019 2:53:57 PM org.brickred.socialauth.provider.FacebookImpl registerPlugins
INFO: Loading plugin :: org.brickred.socialauth.plugin.facebook.FeedPluginImpl
Mar 20, 2019 2:53:57 PM org.brickred.socialauth.oauthstrategy.OAuth2 getLoginRedirectURL
INFO: Determining URL for redirection
Mar 20, 2019 2:53:57 PM org.brickred.socialauth.oauthstrategy.OAuth2 getLoginRedirectURL
INFO: Redirection to following URL should happen : https://graph.facebook.com/oauth/authorize?client_id=345513532746397&response_type=code&redirect_uri=https%3A%2F%2Fslogin.ouhk.edu.hk%2Fnidp%2Fjsp%2Fsocialauth_return.jsp&scope=email
Mar 20, 2019 2:53:58 PM org.brickred.socialauth.SocialAuthManager connect
INFO: Connecting provider : facebook
Mar 20, 2019 2:53:58 PM org.brickred.socialauth.provider.FacebookImpl doVerifyResponse
INFO: Retrieving Access Token in verify response function
Mar 20, 2019 2:53:58 PM org.brickred.socialauth.oauthstrategy.OAuth2 verifyResponse
INFO: Verifying the authentication response from provider
Mar 20, 2019 2:54:27 PM org.brickred.socialauth.provider.FacebookImpl registerPlugins
INFO: Loading plugins
Mar 20, 2019 2:54:27 PM org.brickred.socialauth.provider.FacebookImpl registerPlugins
INFO: Loading plugin :: org.brickred.socialauth.plugin.facebook.AlbumsPluginImpl
Mar 20, 2019 2:54:27 PM org.brickred.socialauth.provider.FacebookImpl registerPlugins
INFO: Loading plugin :: org.brickred.socialauth.plugin.facebook.FeedPluginImpl
Mar 20, 2019 2:54:27 PM org.brickred.socialauth.oauthstrategy.OAuth2 getLoginRedirectURL
INFO: Determining URL for redirection
Mar 20, 2019 2:54:27 PM org.brickred.socialauth.oauthstrategy.OAuth2 getLoginRedirectURL
INFO: Redirection to following URL should happen : https://graph.facebook.com/oauth/authorize?client_id=345513532746397&response_type=code&redirect_uri=https%3A%2F%2Fslogin.ouhk.edu.hk%2Fnidp%2Fjsp%2Fsocialauth_return.jsp&scope=email
Mar 20, 2019 2:54:28 PM org.brickred.socialauth.SocialAuthManager connect
INFO: Connecting provider : facebook
Mar 20, 2019 2:54:28 PM org.brickred.socialauth.provider.FacebookImpl doVerifyResponse
INFO: Retrieving Access Token in verify response function
Mar 20, 2019 2:54:28 PM org.brickred.socialauth.oauthstrategy.OAuth2 verifyResponse
INFO: Verifying the authentication response from provider
Mar 20, 2019 2:54:57 PM org.brickred.socialauth.provider.FacebookImpl registerPlugins
INFO: Loading plugins
Mar 20, 2019 2:54:57 PM org.brickred.socialauth.provider.FacebookImpl registerPlugins
INFO: Loading plugin :: org.brickred.socialauth.plugin.facebook.AlbumsPluginImpl
Mar 20, 2019 2:54:57 PM org.brickred.socialauth.provider.FacebookImpl registerPlugins
INFO: Loading plugin :: org.brickred.socialauth.plugin.facebook.FeedPluginImpl
Mar 20, 2019 2:54:57 PM org.brickred.socialauth.oauthstrategy.OAuth2 getLoginRedirectURL
INFO: Determining URL for redirection
Mar 20, 2019 2:54:57 PM org.brickred.socialauth.oauthstrategy.OAuth2 getLoginRedirectURL
INFO: Redirection to following URL should happen : https://graph.facebook.com/oauth/authorize?client_id=345513532746397&response_type=code&redirect_uri=https%3A%2F%2Fslogin.ouhk.edu.hk%2Fnidp%2Fjsp%2Fsocialauth_return.jsp&scope=email
Mar 20, 2019 2:54:58 PM org.brickred.socialauth.SocialAuthManager connect
INFO: Connecting provider : facebook
Mar 20, 2019 2:54:58 PM org.brickred.socialauth.provider.FacebookImpl doVerifyResponse
INFO: Retrieving Access Token in verify response function
Mar 20, 2019 2:54:58 PM org.brickred.socialauth.oauthstrategy.OAuth2 verifyResponse
INFO: Verifying the authentication response from provider
Mar 20, 2019 2:55:27 PM org.brickred.socialauth.provider.FacebookImpl registerPlugins
INFO: Loading plugins
Mar 20, 2019 2:55:27 PM org.brickred.socialauth.provider.FacebookImpl registerPlugins
INFO: Loading plugin :: org.brickred.socialauth.plugin.facebook.AlbumsPluginImpl
Mar 20, 2019 2:55:27 PM org.brickred.socialauth.provider.FacebookImpl registerPlugins
INFO: Loading plugin :: org.brickred.socialauth.plugin.facebook.FeedPluginImpl
Mar 20, 2019 2:55:27 PM org.brickred.socialauth.oauthstrategy.OAuth2 getLoginRedirectURL
INFO: Determining URL for redirection
Mar 20, 2019 2:55:27 PM org.brickred.socialauth.oauthstrategy.OAuth2 getLoginRedirectURL
INFO: Redirection to following URL should happen : https://graph.facebook.com/oauth/authorize?client_id=345513532746397&response_type=code&redirect_uri=https%3A%2F%2Fslogin.ouhk.edu.hk%2Fnidp%2Fjsp%2Fsocialauth_return.jsp&scope=email
Mar 20, 2019 2:55:28 PM org.brickred.socialauth.SocialAuthManager connect
INFO: Connecting provider : facebook
Mar 20, 2019 2:55:28 PM org.brickred.socialauth.provider.FacebookImpl doVerifyResponse
INFO: Retrieving Access Token in verify response function
Mar 20, 2019 2:55:28 PM org.brickred.socialauth.oauthstrategy.OAuth2 verifyResponse
INFO: Verifying the authentication response from provider
Mar 20, 2019 2:55:57 PM org.brickred.socialauth.provider.FacebookImpl registerPlugins
INFO: Loading plugins
Mar 20, 2019 2:55:57 PM org.brickred.socialauth.provider.FacebookImpl registerPlugins
INFO: Loading plugin :: org.brickred.socialauth.plugin.facebook.AlbumsPluginImpl
Mar 20, 2019 2:55:57 PM org.brickred.socialauth.provider.FacebookImpl registerPlugins
INFO: Loading plugin :: org.brickred.socialauth.plugin.facebook.FeedPluginImpl
Mar 20, 2019 2:55:57 PM org.brickred.socialauth.oauthstrategy.OAuth2 getLoginRedirectURL
INFO: Determining URL for redirection
Mar 20, 2019 2:55:57 PM org.brickred.socialauth.oauthstrategy.OAuth2 getLoginRedirectURL
INFO: Redirection to following URL should happen : https://graph.facebook.com/oauth/authorize?client_id=345513532746397&response_type=code&redirect_uri=https%3A%2F%2Fslogin.ouhk.edu.hk%2Fnidp%2Fjsp%2Fsocialauth_return.jsp&scope=email
Mar 20, 2019 2:55:58 PM org.brickred.socialauth.SocialAuthManager connect
INFO: Connecting provider : facebook
Mar 20, 2019 2:55:58 PM org.brickred.socialauth.provider.FacebookImpl doVerifyResponse
INFO: Retrieving Access Token in verify response function
Mar 20, 2019 2:55:58 PM org.brickred.socialauth.oauthstrategy.OAuth2 verifyResponse
INFO: Verifying the authentication response from provider
Mar 20, 2019 2:55:59 PM com.novell.nam.nidp.oauth.config.authority.certificate.AssertionCertificateValidator getAssertionIssuerCerts
INFO: Assertion Issuer XML doesn't exist!!
Mar 20, 2019 2:55:59 PM com.novell.nam.nidp.oauth.config.authority.certificate.AssertionCertificateValidator getOauthTenantCert
INFO: Inside getOauthTenantCertAliasName
Mar 20, 2019 2:56:28 PM org.brickred.socialauth.provider.FacebookImpl registerPlugins
INFO: Loading plugins
Mar 20, 2019 2:56:28 PM org.brickred.socialauth.provider.FacebookImpl registerPlugins
INFO: Loading plugin :: org.brickred.socialauth.plugin.facebook.AlbumsPluginImpl
Mar 20, 2019 2:56:28 PM org.brickred.socialauth.provider.FacebookImpl registerPlugins
INFO: Loading plugin :: org.brickred.socialauth.plugin.facebook.FeedPluginImpl
Mar 20, 2019 2:56:28 PM org.brickred.socialauth.oauthstrategy.OAuth2 getLoginRedirectURL
INFO: Determining URL for redirection
Mar 20, 2019 2:56:28 PM org.brickred.socialauth.oauthstrategy.OAuth2 getLoginRedirectURL
INFO: Redirection to following URL should happen : https://graph.facebook.com/oauth/authorize?client_id=345513532746397&response_type=code&redirect_uri=https%3A%2F%2Fslogin.ouhk.edu.hk%2Fnidp%2Fjsp%2Fsocialauth_return.jsp&scope=email
Mar 20, 2019 2:56:29 PM org.brickred.socialauth.SocialAuthManager connect
INFO: Connecting provider : facebook
Mar 20, 2019 2:56:29 PM org.brickred.socialauth.provider.FacebookImpl doVerifyResponse
INFO: Retrieving Access Token in verify response function
Mar 20, 2019 2:56:29 PM org.brickred.socialauth.oauthstrategy.OAuth2 verifyResponse
INFO: Verifying the authentication response from provider
Mar 20, 2019 2:56:58 PM org.brickred.socialauth.provider.FacebookImpl registerPlugins
INFO: Loading plugins
Mar 20, 2019 2:56:58 PM org.brickred.socialauth.provider.FacebookImpl registerPlugins
INFO: Loading plugin :: org.brickred.socialauth.plugin.facebook.AlbumsPluginImpl
Mar 20, 2019 2:56:58 PM org.brickred.socialauth.provider.FacebookImpl registerPlugins
INFO: Loading plugin :: org.brickred.socialauth.plugin.facebook.FeedPluginImpl
Mar 20, 2019 2:56:58 PM org.brickred.socialauth.oauthstrategy.OAuth2 getLoginRedirectURL
INFO: Determining URL for redirection
Mar 20, 2019 2:56:58 PM org.brickred.socialauth.oauthstrategy.OAuth2 getLoginRedirectURL
INFO: Redirection to following URL should happen : https://graph.facebook.com/oauth/authorize?client_id=345513532746397&response_type=code&redirect_uri=https%3A%2F%2Fslogin.ouhk.edu.hk%2Fnidp%2Fjsp%2Fsocialauth_return.jsp&scope=email
Mar 20, 2019 2:56:59 PM org.brickred.socialauth.SocialAuthManager connect
INFO: Connecting provider : facebook
Mar 20, 2019 2:56:59 PM org.brickred.socialauth.provider.FacebookImpl doVerifyResponse
INFO: Retrieving Access Token in verify response function
Mar 20, 2019 2:56:59 PM org.brickred.socialauth.oauthstrategy.OAuth2 verifyResponse
INFO: Verifying the authentication response from provider
Mar 20, 2019 2:57:28 PM org.brickred.socialauth.provider.FacebookImpl registerPlugins
INFO: Loading plugins
Mar 20, 2019 2:57:28 PM org.brickred.socialauth.provider.FacebookImpl registerPlugins
INFO: Loading plugin :: org.brickred.socialauth.plugin.facebook.AlbumsPluginImpl
Mar 20, 2019 2:57:28 PM org.brickred.socialauth.provider.FacebookImpl registerPlugins
INFO: Loading plugin :: org.brickred.socialauth.plugin.facebook.FeedPluginImpl
Mar 20, 2019 2:57:28 PM org.brickred.socialauth.oauthstrategy.OAuth2 getLoginRedirectURL
INFO: Determining URL for redirection
Mar 20, 2019 2:57:28 PM org.brickred.socialauth.oauthstrategy.OAuth2 getLoginRedirectURL
INFO: Redirection to following URL should happen : https://graph.facebook.com/oauth/authorize?client_id=345513532746397&response_type=code&redirect_uri=https%3A%2F%2Fslogin.ouhk.edu.hk%2Fnidp%2Fjsp%2Fsocialauth_return.jsp&scope=email
Mar 20, 2019 2:57:29 PM org.brickred.socialauth.SocialAuthManager connect
INFO: Connecting provider : facebook
Mar 20, 2019 2:57:29 PM org.brickred.socialauth.provider.FacebookImpl doVerifyResponse
INFO: Retrieving Access Token in verify response function
Mar 20, 2019 2:57:29 PM org.brickred.socialauth.oauthstrategy.OAuth2 verifyResponse
INFO: Verifying the authentication response from provider
Mar 20, 2019 2:57:58 PM org.brickred.socialauth.provider.FacebookImpl registerPlugins
INFO: Loading plugins
Mar 20, 2019 2:57:58 PM org.brickred.socialauth.provider.FacebookImpl registerPlugins
INFO: Loading plugin :: org.brickred.socialauth.plugin.facebook.AlbumsPluginImpl
Mar 20, 2019 2:57:58 PM org.brickred.socialauth.provider.FacebookImpl registerPlugins
INFO: Loading plugin :: org.brickred.socialauth.plugin.facebook.FeedPluginImpl
Mar 20, 2019 2:57:58 PM org.brickred.socialauth.oauthstrategy.OAuth2 getLoginRedirectURL
INFO: Determining URL for redirection
Mar 20, 2019 2:57:58 PM org.brickred.socialauth.oauthstrategy.OAuth2 getLoginRedirectURL
INFO: Redirection to following URL should happen : https://graph.facebook.com/oauth/authorize?client_id=345513532746397&response_type=code&redirect_uri=https%3A%2F%2Fslogin.ouhk.edu.hk%2Fnidp%2Fjsp%2Fsocialauth_return.jsp&scope=email
Mar 20, 2019 2:58:00 PM org.brickred.socialauth.SocialAuthManager connect
INFO: Connecting provider : facebook
Mar 20, 2019 2:58:00 PM org.brickred.socialauth.provider.FacebookImpl doVerifyResponse
INFO: Retrieving Access Token in verify response function
Mar 20, 2019 2:58:00 PM org.brickred.socialauth.oauthstrategy.OAuth2 verifyResponse
INFO: Verifying the authentication response from provider
Mar 20, 2019 2:58:29 PM org.brickred.socialauth.provider.FacebookImpl registerPlugins
INFO: Loading plugins
Mar 20, 2019 2:58:29 PM org.brickred.socialauth.provider.FacebookImpl registerPlugins
INFO: Loading plugin :: org.brickred.socialauth.plugin.facebook.AlbumsPluginImpl
Mar 20, 2019 2:58:29 PM org.brickred.socialauth.provider.FacebookImpl registerPlugins
INFO: Loading plugin :: org.brickred.socialauth.plugin.facebook.FeedPluginImpl
Mar 20, 2019 2:58:29 PM org.brickred.socialauth.oauthstrategy.OAuth2 getLoginRedirectURL
INFO: Determining URL for redirection
Mar 20, 2019 2:58:29 PM org.brickred.socialauth.oauthstrategy.OAuth2 getLoginRedirectURL
INFO: Redirection to following URL should happen : https://graph.facebook.com/oauth/authorize?client_id=345513532746397&response_type=code&redirect_uri=https%3A%2F%2Fslogin.ouhk.edu.hk%2Fnidp%2Fjsp%2Fsocialauth_return.jsp&scope=email
Mar 20, 2019 2:58:30 PM org.brickred.socialauth.SocialAuthManager connect
INFO: Connecting provider : facebook
Mar 20, 2019 2:58:30 PM org.brickred.socialauth.provider.FacebookImpl doVerifyResponse
INFO: Retrieving Access Token in verify response function
Mar 20, 2019 2:58:30 PM org.brickred.socialauth.oauthstrategy.OAuth2 verifyResponse
INFO: Verifying the authentication response from provider
Mar 20, 2019 2:58:59 PM org.brickred.socialauth.provider.FacebookImpl registerPlugins
INFO: Loading plugins
Mar 20, 2019 2:58:59 PM org.brickred.socialauth.provider.FacebookImpl registerPlugins
INFO: Loading plugin :: org.brickred.socialauth.plugin.facebook.AlbumsPluginImpl
Mar 20, 2019 2:58:59 PM org.brickred.socialauth.provider.FacebookImpl registerPlugins
INFO: Loading plugin :: org.brickred.socialauth.plugin.facebook.FeedPluginImpl
Mar 20, 2019 2:58:59 PM org.brickred.socialauth.oauthstrategy.OAuth2 getLoginRedirectURL
INFO: Determining URL for redirection
Mar 20, 2019 2:58:59 PM org.brickred.socialauth.oauthstrategy.OAuth2 getLoginRedirectURL
INFO: Redirection to following URL should happen : https://graph.facebook.com/oauth/authorize?client_id=345513532746397&response_type=code&redirect_uri=https%3A%2F%2Fslogin.ouhk.edu.hk%2Fnidp%2Fjsp%2Fsocialauth_return.jsp&scope=email
Mar 20, 2019 2:59:02 PM org.brickred.socialauth.SocialAuthManager connect
INFO: Connecting provider : facebook
Mar 20, 2019 2:59:02 PM org.brickred.socialauth.provider.FacebookImpl doVerifyResponse
INFO: Retrieving Access Token in verify response function
Mar 20, 2019 2:59:02 PM org.brickred.socialauth.oauthstrategy.OAuth2 verifyResponse
INFO: Verifying the authentication response from provider
Mar 20, 2019 2:59:31 PM org.brickred.socialauth.provider.FacebookImpl registerPlugins
INFO: Loading plugins
Mar 20, 2019 2:59:31 PM org.brickred.socialauth.provider.FacebookImpl registerPlugins
INFO: Loading plugin :: org.brickred.socialauth.plugin.facebook.AlbumsPluginImpl
Mar 20, 2019 2:59:31 PM org.brickred.socialauth.provider.FacebookImpl registerPlugins
INFO: Loading plugin :: org.brickred.socialauth.plugin.facebook.FeedPluginImpl
Mar 20, 2019 2:59:31 PM org.brickred.socialauth.oauthstrategy.OAuth2 getLoginRedirectURL
INFO: Determining URL for redirection
Mar 20, 2019 2:59:31 PM org.brickred.socialauth.oauthstrategy.OAuth2 getLoginRedirectURL
INFO: Redirection to following URL should happen : https://graph.facebook.com/oauth/authorize?client_id=345513532746397&response_type=code&redirect_uri=https%3A%2F%2Fslogin.ouhk.edu.hk%2Fnidp%2Fjsp%2Fsocialauth_return.jsp&scope=email
Mar 20, 2019 2:59:32 PM org.brickred.socialauth.SocialAuthManager connect
INFO: Connecting provider : facebook
Mar 20, 2019 2:59:32 PM org.brickred.socialauth.provider.FacebookImpl doVerifyResponse
INFO: Retrieving Access Token in verify response function
Mar 20, 2019 2:59:32 PM org.brickred.socialauth.oauthstrategy.OAuth2 verifyResponse
INFO: Verifying the authentication response from provider
Mar 20, 2019 3:00:01 PM org.brickred.socialauth.provider.FacebookImpl registerPlugins
INFO: Loading plugins
Mar 20, 2019 3:00:01 PM org.brickred.socialauth.provider.FacebookImpl registerPlugins
INFO: Loading plugin :: org.brickred.socialauth.plugin.facebook.AlbumsPluginImpl
Mar 20, 2019 3:00:01 PM org.brickred.socialauth.provider.FacebookImpl registerPlugins
INFO: Loading plugin :: org.brickred.socialauth.plugin.facebook.FeedPluginImpl
Mar 20, 2019 3:00:01 PM org.brickred.socialauth.oauthstrategy.OAuth2 getLoginRedirectURL
INFO: Determining URL for redirection
Mar 20, 2019 3:00:01 PM org.brickred.socialauth.oauthstrategy.OAuth2 getLoginRedirectURL
INFO: Redirection to following URL should happen : https://graph.facebook.com/oauth/authorize?client_id=345513532746397&response_type=code&redirect_uri=https%3A%2F%2Fslogin.ouhk.edu.hk%2Fnidp%2Fjsp%2Fsocialauth_return.jsp&scope=email
Mar 20, 2019 3:00:01 PM org.brickred.socialauth.SocialAuthManager connect
INFO: Connecting provider : facebook
Mar 20, 2019 3:00:01 PM org.brickred.socialauth.provider.FacebookImpl doVerifyResponse
INFO: Retrieving Access Token in verify response function
Mar 20, 2019 3:00:01 PM org.brickred.socialauth.oauthstrategy.OAuth2 verifyResponse
INFO: Verifying the authentication response from provider
Mar 20, 2019 3:00:31 PM org.brickred.socialauth.provider.FacebookImpl registerPlugins
INFO: Loading plugins
Mar 20, 2019 3:00:31 PM org.brickred.socialauth.provider.FacebookImpl registerPlugins
INFO: Loading plugin :: org.brickred.socialauth.plugin.facebook.AlbumsPluginImpl
Mar 20, 2019 3:00:31 PM org.brickred.socialauth.provider.FacebookImpl registerPlugins
INFO: Loading plugin :: org.brickred.socialauth.plugin.facebook.FeedPluginImpl
Mar 20, 2019 3:00:31 PM org.brickred.socialauth.oauthstrategy.OAuth2 getLoginRedirectURL
INFO: Determining URL for redirection
Mar 20, 2019 3:00:31 PM org.brickred.socialauth.oauthstrategy.OAuth2 getLoginRedirectURL
INFO: Redirection to following URL should happen : https://graph.facebook.com/oauth/authorize?client_id=345513532746397&response_type=code&redirect_uri=https%3A%2F%2Fslogin.ouhk.edu.hk%2Fnidp%2Fjsp%2Fsocialauth_return.jsp&scope=email
Mar 20, 2019 3:00:32 PM org.brickred.socialauth.SocialAuthManager connect
INFO: Connecting provider : facebook
Mar 20, 2019 3:00:32 PM org.brickred.socialauth.provider.FacebookImpl doVerifyResponse
INFO: Retrieving Access Token in verify response function
Mar 20, 2019 3:00:32 PM org.brickred.socialauth.oauthstrategy.OAuth2 verifyResponse
INFO: Verifying the authentication response from provider


How exactly have you configured the Class, Method, and Contract?

Visit my Website for links to Cool Solution articles.
0 Likes
kkyen Absent Member.
Absent Member.

Re: NAM4.4 Social Authentication with Facebook

i paste the wrong error logs, please check again on my first post. Thanks. Some error there
0 Likes
ScorpionSting Absent Member.
Absent Member.

Re: NAM4.4 Social Authentication with Facebook

kkyen;2497104 wrote:
i paste the wrong error logs, please check again on my first post. Thanks. Some error there


Which version? There is an error with the url, wondering if its changed between versions....

Visit my Website for links to Cool Solution articles.
0 Likes
Knowledge Partner Knowledge Partner
Knowledge Partner

Re: NAM4.4 Social Authentication with Facebook

On 20-03-2019 7:44 PM, kkyen wrote:
>
> Dear Guys,
>
> I'm setting up a demo run with social authentication using facebook.
> However on the trial run, after user logins from facebook, the browser
> just loop or stuck on nidp site. Can't see any helpful messages from
> catalina as follows, any idea?
>


Its hard to say whats going on here with just the catalina.out logs at INFO level. It seems the browser is redirected to
https://graph.facebook.com/oauth/authorize?client_id=345513532746397&response_type=code&redirect_uri=https%3A%2F%2Fslogin.ouhk.edu.hk%2Fnidp%2Fjsp%2Fsocialauth_return.jsp&scope=email
and then the IDP verifies a response but the response seems instant so my guess is that something has gone wrong at facebook and is rejecting the
request. Did you register an app properly?

To troubleshoot this enable DEBUG logs for the IDP and potentially a fiddler trace but lets try with the debug logs first.


--
Cheers,
Edward
0 Likes
kkyen Absent Member.
Absent Member.

Re: NAM4.4 Social Authentication with Facebook

edmaa;2497145 wrote:
On 20-03-2019 7:44 PM, kkyen wrote:
>
> Dear Guys,
>
> I'm setting up a demo run with social authentication using facebook.
> However on the trial run, after user logins from facebook, the browser
> just loop or stuck on nidp site. Can't see any helpful messages from
> catalina as follows, any idea?
>


Its hard to say whats going on here with just the catalina.out logs at INFO level. It seems the browser is redirected to
https://graph.facebook.com/oauth/authorize?client_id=345513532746397&response_type=code&redirect_uri=https%3A%2F%2Fslogin.ouhk.edu.hk%2Fnidp%2Fjsp%2Fsocialauth_return.jsp&scope=email
and then the IDP verifies a response but the response seems instant so my guess is that something has gone wrong at facebook and is rejecting the
request. Did you register an app properly?

To troubleshoot this enable DEBUG logs for the IDP and potentially a fiddler trace but lets try with the debug logs first.


--
Cheers,
Edward


Hi Edward, I have turned on Debug mode, but by looking at the current logs, I still don't have clue what is missing...

<amLogEntry> 2019-03-25T07:13:56Z DEBUG NIDS Application:
Method: CacheMap.A
Thread: http-nio-192.168.128.30-8443-exec-5

Retrieval of object com.novell.nidp.servlets.NIDPServletSession@296b6dda from cache session succeeded using key 0536ba3548b2d0aba2590146d2baa7c631d0554ef22d22f96a2c7529185828dc. Cache size is 4
</amLogEntry>

<amLogEntry> 2019-03-25T07:13:56Z DEBUG NIDS Application:
Method: CacheMap.A
Thread: http-nio-192.168.128.30-8443-exec-5

Retrieval of object com.novell.nidp.servlets.NIDPServletSession@296b6dda from cache session succeeded using key 0536ba3548b2d0aba2590146d2baa7c631d0554ef22d22f96a2c7529185828dc. Cache size is 4
</amLogEntry>

<amLogEntry> 2019-03-25T07:13:56Z VERBOSE NIDS Application: Session has consumed authentications: false </amLogEntry>

<amLogEntry> 2019-03-25T07:13:56Z DEBUG NIDS Application:
Method: NIDPProxyableServlet.myDoGetWithProxy
Thread: http-nio-192.168.128.30-8443-exec-5
****** HttpServletRequest Information:
Method: GET
Scheme: https
Context Path: /nidp
Servlet Path: /jsp/main.jsp
Query String: id=373&sid=1
Path Info: null
Server Name: slogin.ouhk.edu.hk
Server Port: 443
Content Length: -1
Content Type: null
Auth Type: null
Request URL: https://slogin.ouhk.edu.hk/nidp/jsp/main.jsp
Host IP Address: 202.40.220.236
Remote Client IP Address: 192.168.128.1
Cookie: (0 of 2): UrnNovellNidpClusterMemberId, ~03~0Bslo~0A~0B~14oof~02~00~02
Unobfuscated: UrnNovellNidpClusterMemberId: 192.168.128.30
Cookie: (1 of 2): JSESSIONID, 0536ba3548b2d0aba2590146d2baa7c631d0554ef22d22f96a2c7529185828dc
Header: Name: host, Value: slogin.ouhk.edu.hk
Header: Name: connection, Value: keep-alive
Header: Name: upgrade-insecure-requests, Value: 1
Header: Name: user-agent, Value: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.109 Safari/537.36
Header: Name: accept, Value: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8
Header: Name: referer, Value: https://slogin.ouhk.edu.hk/nidp/app/
Header: Name: accept-encoding, Value: gzip, deflate, br
Header: Name: accept-language, Value: en-US,en;q=0.9
Header: Name: x-forwarded-for, Value: 202.129.166.106
Session Id: 0536ba3548b2d0aba2590146d2baa7c631d0554ef22d22f96a2c7529185828dc
Session Last Accessed Time: 1553497985932
</amLogEntry>

<amLogEntry> 2019-03-25T07:13:56Z VERBOSE NIDS Application: AM#600105004: AMDEVICEID#41663BE3DB7DE15A: AMAUTHID#0536ba3548b2d0aba2590146d2baa7c631d0554ef22d22f96a2c7529185828dc: Obtained ip address of cluster member handling this users requests from HTTP cookie. Address: 192.168.128.30 </amLogEntry>

<amLogEntry> 2019-03-25T07:13:56Z VERBOSE NIDS Application: AM#600105002: AMDEVICEID#41663BE3DB7DE15A: AMAUTHID#0536ba3548b2d0aba2590146d2baa7c631d0554ef22d22f96a2c7529185828dc: Do not need to proxy HTTP request to other cluster member. This cluster member can handle requests for this user. </amLogEntry>

<amLogEntry> 2019-03-25T07:13:56Z DEBUG NIDS Application:
Method: NIDPJspFilter.doFilter
Thread: http-nio-192.168.128.30-8443-exec-5
JSP request did not need to be proxied to a different server! </amLogEntry>

<amLogEntry> 2019-03-25T07:13:56Z DEBUG NIDS Application:
Method: CacheMap.A
Thread: http-nio-192.168.128.30-8443-exec-5

Retrieval of object com.novell.nidp.servlets.NIDPServletSession@296b6dda from cache session succeeded using key 0536ba3548b2d0aba2590146d2baa7c631d0554ef22d22f96a2c7529185828dc. Cache size is 4
</amLogEntry>

<amLogEntry> 2019-03-25T07:13:56Z DEBUG NIDS Application:
Method: CacheMap.A
Thread: http-nio-192.168.128.30-8443-exec-5

Retrieval of object com.novell.nidp.servlets.NIDPServletSession@296b6dda from cache session succeeded using key 0536ba3548b2d0aba2590146d2baa7c631d0554ef22d22f96a2c7529185828dc. Cache size is 4
</amLogEntry>

<amLogEntry> 2019-03-25T07:13:56Z DEBUG NIDS Application:
Method: NIDPResourceManager.A
Thread: http-nio-192.168.128.30-8443-exec-5
Locale: en_US mapped to directory en </amLogEntry>

<amLogEntry> 2019-03-25T07:13:56Z DEBUG NIDS Application:
Method: NIDPResourceManager.A
Thread: http-nio-192.168.128.30-8443-exec-5
Locale: en_US mapped to directory en </amLogEntry>

<amLogEntry> 2019-03-25T07:13:56Z DEBUG NIDS Application:
Method: CacheMap.A
Thread: http-nio-192.168.128.30-8443-exec-1

Retrieval of object com.novell.nidp.servlets.NIDPServletSession@296b6dda from cache session succeeded using key 0536ba3548b2d0aba2590146d2baa7c631d0554ef22d22f96a2c7529185828dc. Cache size is 4
</amLogEntry>

<amLogEntry> 2019-03-25T07:13:56Z DEBUG NIDS Application:
Method: CacheMap.A
Thread: http-nio-192.168.128.30-8443-exec-1

Retrieval of object com.novell.nidp.servlets.NIDPServletSession@296b6dda from cache session succeeded using key 0536ba3548b2d0aba2590146d2baa7c631d0554ef22d22f96a2c7529185828dc. Cache size is 4
</amLogEntry>

<amLogEntry> 2019-03-25T07:13:56Z VERBOSE NIDS Application: Session has consumed authentications: false </amLogEntry>

<amLogEntry> 2019-03-25T07:13:56Z DEBUG NIDS Application:
Method: NIDPProxyableServlet.myDoGetWithProxy
Thread: http-nio-192.168.128.30-8443-exec-1
****** HttpServletRequest Information:
Method: GET
Scheme: https
Context Path: /nidp
Servlet Path: /jsp/content.jsp
Query String: id=373&sid=1&uiDestination=contentDiv
Path Info: null
Server Name: slogin.ouhk.edu.hk
Server Port: 443
Content Length: -1
Content Type: null
Auth Type: null
Request URL: https://slogin.ouhk.edu.hk/nidp/jsp/content.jsp
Host IP Address: 202.40.220.236
Remote Client IP Address: 192.168.128.1
Cookie: (0 of 2): UrnNovellNidpClusterMemberId, ~03~0Bslo~0A~0B~14oof~02~00~02
Unobfuscated: UrnNovellNidpClusterMemberId: 192.168.128.30
Cookie: (1 of 2): JSESSIONID, 0536ba3548b2d0aba2590146d2baa7c631d0554ef22d22f96a2c7529185828dc
Header: Name: host, Value: slogin.ouhk.edu.hk
Header: Name: connection, Value: keep-alive
Header: Name: accept, Value: */*
Header: Name: x-requested-with, Value: XMLHttpRequest
Header: Name: user-agent, Value: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.109 Safari/537.36
Header: Name: referer, Value: https://slogin.ouhk.edu.hk/nidp/jsp/main.jsp?id=373&sid=1
Header: Name: accept-encoding, Value: gzip, deflate, br
Header: Name: accept-language, Value: en-US,en;q=0.9
Header: Name: x-forwarded-for, Value: 202.129.166.106
Session Id: 0536ba3548b2d0aba2590146d2baa7c631d0554ef22d22f96a2c7529185828dc
Session Last Accessed Time: 1553498036464
</amLogEntry>

<amLogEntry> 2019-03-25T07:13:56Z VERBOSE NIDS Application: AM#600105004: AMDEVICEID#41663BE3DB7DE15A: AMAUTHID#0536ba3548b2d0aba2590146d2baa7c631d0554ef22d22f96a2c7529185828dc: Obtained ip address of cluster member handling this users requests from HTTP cookie. Address: 192.168.128.30 </amLogEntry>

<amLogEntry> 2019-03-25T07:13:56Z VERBOSE NIDS Application: AM#600105002: AMDEVICEID#41663BE3DB7DE15A: AMAUTHID#0536ba3548b2d0aba2590146d2baa7c631d0554ef22d22f96a2c7529185828dc: Do not need to proxy HTTP request to other cluster member. This cluster member can handle requests for this user. </amLogEntry>

<amLogEntry> 2019-03-25T07:13:56Z DEBUG NIDS Application:
Method: NIDPJspFilter.doFilter
Thread: http-nio-192.168.128.30-8443-exec-1
JSP request did not need to be proxied to a different server! </amLogEntry>

<amLogEntry> 2019-03-25T07:13:56Z DEBUG NIDS Application:
Method: CacheMap.A
Thread: http-nio-192.168.128.30-8443-exec-1

Retrieval of object com.novell.nidp.servlets.NIDPServletSession@296b6dda from cache session succeeded using key 0536ba3548b2d0aba2590146d2baa7c631d0554ef22d22f96a2c7529185828dc. Cache size is 4
</amLogEntry>

<amLogEntry> 2019-03-25T07:13:56Z DEBUG NIDS Application:
Method: LDAPAuthority.getObjectByDn
Thread: http-nio-192.168.128.30-8443-exec-6
dn = cn=mobileAccess,cn=SCCkml0pm,ou=idpClusters,o=amSystem </amLogEntry>

<amLogEntry> 2019-03-25T07:13:56Z DEBUG NIDS Application:
Method: LDAPAuthority.getObjectByDn
Thread: http-nio-192.168.128.30-8443-exec-6
dn1 = cn=mobileAccess,cn=SCCkml0pm,ou=idpClusters,o=amSystem </amLogEntry>

<amLogEntry> 2019-03-25T07:13:56Z DEBUG NIDS Application:
Method: JNDILogEventListener.accept
Thread: http-nio-192.168.128.30-8443-exec-6
Target object dn: cn=mobileAccess,cn=SCCkml0pm,ou=idpClusters,o=amSystem
Acting as: ou=nidsUser,ou=UsersContainer,ou=Partition,ou=PartitionsContainer,ou=VCDN_Root,ou=accessManagerContainer,o=novell
Attrs: null or zero! </amLogEntry>

<amLogEntry> 2019-03-25T07:13:56Z DEBUG NIDS Application:
Method: JNDILogEventListener.accept
Thread: http-nio-192.168.128.30-8443-exec-6
getNextConnection() attempting to get preferred replica from the IPreferredReplica interface </amLogEntry>

<amLogEntry> 2019-03-25T07:13:56Z DEBUG NIDS Application:
Method: JNDILogEventListener.accept
Thread: http-nio-192.168.128.30-8443-exec-6
Closing LDAP connection due to connection timeout! Interval: 50734, Timeout: 10000, Connection: Id: 2ef6234a-e2c7-493f-a6db-4d2f6b031e72, host: ldaps://192.168.128.17 </amLogEntry>

<amLogEntry> 2019-03-25T07:13:56Z DEBUG NIDS Application:
Method: JNDILogEventListener.accept
Thread: http-nio-192.168.128.30-8443-exec-6
Connection: 2e2fa1e2-8c71-4c93-a289-b5b93bda4ded, Environment Parameters for InitialDirContext() method call:
Key: java.naming.factory.initial, Value: com.sun.jndi.ldap.LdapCtxFactory
Key: java.naming.provider.url, Value: ldaps://192.168.128.17:636
Key: com.sun.jndi.ldap.connect.timeout, Value: 0
Key: java.naming.security.principal, Value: ou=nidsUser,ou=UsersContainer,ou=Partition,ou=PartitionsContainer,ou=VCDN_Root,ou=accessManagerContainer,o=novell
Key: java.naming.security.authentication, Value: simple
Key: java.naming.security.credentials, Value: *****
Key: java.naming.security.protocol, Value: ssl
Key: java.naming.ldap.factory.socket, Value: com.novell.nidp.common.util.net.client.NIDP_SSLSocketFactory
</amLogEntry>

<amLogEntry> 2019-03-25T07:13:56Z DEBUG NIDS Application:
Method: JNDILogEventListener.accept
Thread: http-nio-192.168.128.30-8443-exec-6
Added property to DirContext Environment: Property Name: java.naming.ldap.attributes.binary, Value: GUID nDSPKITrustedRootCertificate </amLogEntry>

<amLogEntry> 2019-03-25T07:13:56Z DEBUG NIDS Application:
Method: NIDPProxyableServlet.myDoGetWithProxy
Thread: http-nio-192.168.128.30-8443-exec-7
****** HttpServletRequest Information:
Method: GET
Scheme: https
Context Path: /nidp
Servlet Path: /app
Query String: id=373&sid=1&option=credential&sid=1&uiDestination=contentDiv
Path Info: /login
Server Name: slogin.ouhk.edu.hk
Server Port: 443
Content Length: -1
Content Type: null
Auth Type: null
Request URL: https://slogin.ouhk.edu.hk/nidp/app/login
Host IP Address: 202.40.220.236
Remote Client IP Address: 192.168.128.1
Cookie: (0 of 2): UrnNovellNidpClusterMemberId, ~03~0Bslo~0A~0B~14oof~02~00~02
Unobfuscated: UrnNovellNidpClusterMemberId: 192.168.128.30
Cookie: (1 of 2): JSESSIONID, 0536ba3548b2d0aba2590146d2baa7c631d0554ef22d22f96a2c7529185828dc
Header: Name: host, Value: slogin.ouhk.edu.hk
Header: Name: connection, Value: keep-alive
Header: Name: accept, Value: */*
Header: Name: x-requested-with, Value: XMLHttpRequest
Header: Name: user-agent, Value: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.109 Safari/537.36
Header: Name: referer, Value: https://slogin.ouhk.edu.hk/nidp/jsp/main.jsp?id=373&sid=1
Header: Name: accept-encoding, Value: gzip, deflate, br
Header: Name: accept-language, Value: en-US,en;q=0.9
Header: Name: x-forwarded-for, Value: 202.129.166.106
Session Id: 0536ba3548b2d0aba2590146d2baa7c631d0554ef22d22f96a2c7529185828dc
Session Last Accessed Time: 1553498036636
</amLogEntry>

<amLogEntry> 2019-03-25T07:13:56Z VERBOSE NIDS Application: AM#600105004: AMDEVICEID#41663BE3DB7DE15A: AMAUTHID#0536ba3548b2d0aba2590146d2baa7c631d0554ef22d22f96a2c7529185828dc: Obtained ip address of cluster member handling this users requests from HTTP cookie. Address: 192.168.128.30 </amLogEntry>

<amLogEntry> 2019-03-25T07:13:56Z VERBOSE NIDS Application: AM#600105002: AMDEVICEID#41663BE3DB7DE15A: AMAUTHID#0536ba3548b2d0aba2590146d2baa7c631d0554ef22d22f96a2c7529185828dc: Do not need to proxy HTTP request to other cluster member. This cluster member can handle requests for this user. </amLogEntry>

<amLogEntry> 2019-03-25T07:13:56Z DEBUG NIDS Application:
Method: CacheMap.A
Thread: http-nio-192.168.128.30-8443-exec-7

Retrieval of object com.novell.nidp.servlets.NIDPServletSession@296b6dda from cache session succeeded using key 0536ba3548b2d0aba2590146d2baa7c631d0554ef22d22f96a2c7529185828dc. Cache size is 4
</amLogEntry>

<amLogEntry> 2019-03-25T07:13:56Z DEBUG NIDS Application:
Method: CacheMap.A
Thread: http-nio-192.168.128.30-8443-exec-7

Retrieval of object com.novell.nidp.servlets.NIDPServletSession@296b6dda from cache session succeeded using key 0536ba3548b2d0aba2590146d2baa7c631d0554ef22d22f96a2c7529185828dc. Cache size is 4
</amLogEntry>

<amLogEntry> 2019-03-25T07:13:56Z VERBOSE NIDS Application: Session has consumed authentications: false </amLogEntry>

<amLogEntry> 2019-03-25T07:13:56Z DEBUG NIDS Application:
Method: CacheMap.A
Thread: http-nio-192.168.128.30-8443-exec-7

Retrieval of object com.novell.nidp.servlets.NIDPServletSession@296b6dda from cache session succeeded using key 0536ba3548b2d0aba2590146d2baa7c631d0554ef22d22f96a2c7529185828dc. Cache size is 4
</amLogEntry>

<amLogEntry> 2019-03-25T07:13:56Z DEBUG NIDS Application:
Method: CommonHandler.handleRequest
Thread: http-nio-192.168.128.30-8443-exec-7
Handling request: login </amLogEntry>

<amLogEntry> 2019-03-25T07:13:56Z VERBOSE NIDS Application: Session has consumed authentications: false </amLogEntry>

<amLogEntry> 2019-03-25T07:13:56Z INFO NIDS Application: AM#500105015: AMDEVICEID#41663BE3DB7DE15A: AMAUTHID#0536ba3548b2d0aba2590146d2baa7c631d0554ef22d22f96a2c7529185828dc: Processing login request with TARGET = , saved TARGET = . </amLogEntry>

<amLogEntry> 2019-03-25T07:13:56Z INFO NIDS Application: AM#500105009: AMDEVICEID#41663BE3DB7DE15A: AMAUTHID#0536ba3548b2d0aba2590146d2baa7c631d0554ef22d22f96a2c7529185828dc: Executing contract facebook. </amLogEntry>

<amLogEntry> 2019-03-25T07:13:56Z VERBOSE NIDS Application: Session has consumed authentications: false </amLogEntry>

<amLogEntry> 2019-03-25T07:13:56Z VERBOSE NIDS Application: Session has consumed authentications: false </amLogEntry>

<amLogEntry> 2019-03-25T07:13:56Z VERBOSE NIDS Application: Session has consumed authentications: false </amLogEntry>

<amLogEntry> 2019-03-25T07:13:56Z DEBUG NIDS Application:
Method: LocalAuthenticationClass.<init>
Thread: http-nio-192.168.128.30-8443-exec-7
Parameter m_ExpiredCheck(ExpiredCheck) = false </amLogEntry>

<amLogEntry> 2019-03-25T07:13:56Z DEBUG NIDS Application:
Method: LocalAuthenticationClass.<init>
Thread: http-nio-192.168.128.30-8443-exec-7
Parameter m_AuthenticateExpiredPassword(AuthenticateExpiredPassword) = false </amLogEntry>

<amLogEntry> 2019-03-25T07:13:56Z DEBUG NIDS Application:
Method: LocalAuthenticationClass.<init>
Thread: http-nio-192.168.128.30-8443-exec-7
Parameter m_ExpiredCheck(ExpiredCheck) = false </amLogEntry>

<amLogEntry> 2019-03-25T07:13:56Z DEBUG NIDS Application:
Method: LocalAuthenticationClass.<init>
Thread: http-nio-192.168.128.30-8443-exec-7
Parameter m_AuthenticateExpiredPassword(AuthenticateExpiredPassword) = false </amLogEntry>

Mar 25, 2019 3:13:56 PM org.brickred.socialauth.SocialAuthConfig load
INFO: Loading application configuration
<amLogEntry> 2019-03-25T07:13:56Z DEBUG NIDS Application:
Method: SocialAuthClass.initWithProperties
Thread: http-nio-192.168.128.30-8443-exec-7
Map Type: None
Auto Provision: false
Auto Provision State: Process Social Auth
Enabled Provider: facebook
</amLogEntry>

<amLogEntry> 2019-03-25T07:13:56Z VERBOSE NIDS Application: Executing authentication method facebook </amLogEntry>

<amLogEntry> 2019-03-25T07:13:56Z DEBUG NIDS Application:
Method: SocialAuthClass.N
Thread: http-nio-192.168.128.30-8443-exec-7
Recieved blob from Server null </amLogEntry>

<amLogEntry> 2019-03-25T07:13:56Z DEBUG NIDS Application:
Method: SocialAuthClass.N
Thread: http-nio-192.168.128.30-8443-exec-7
Auto Provision State: Process Social Auth
Request Parameter "socialauth_return": null
Request Parameter "authid": null
</amLogEntry>

<amLogEntry> 2019-03-25T07:13:56Z DEBUG NIDS Application:
Method: PageToShow.addAttribute
Thread: http-nio-192.168.128.30-8443-exec-7
Attribute added to page [socialauth] is [url]=[https://slogin.ouhk.edu.hk/nidp/app/login?sid=1]. </amLogEntry>

<amLogEntry> 2019-03-25T07:13:56Z DEBUG NIDS Application:
Method: SocialAuthClass.A
Thread: http-nio-192.168.128.30-8443-exec-7
JSP: socialauth
Return Url: https://slogin.ouhk.edu.hk/nidp/app/login?sid=1
Request Parameter "authid": null
Total Number of Providers: 1
</amLogEntry>

<amLogEntry> 2019-03-25T07:13:56Z VERBOSE NIDS Application: Authentication method facebook requires additional interaction. </amLogEntry>

<amLogEntry> 2019-03-25T07:13:56Z DEBUG NIDS Application:
Method: PageToShow.addAttribute
Thread: http-nio-192.168.128.30-8443-exec-7
Attribute added to page [socialauth] is [url]=[https://slogin.ouhk.edu.hk/nidp/app/login?sid=1&sid=1]. </amLogEntry>

<amLogEntry> 2019-03-25T07:13:56Z DEBUG NIDS Application:
Method: ContractExecutionState.exec
Thread: http-nio-192.168.128.30-8443-exec-7
Just returned from call to doContract():
Status: SHOW_PAGE
Contract: facebook
Contract Authentication Card: com.novell.nidp.authentication.card.LocalAuthenticationCard@7695c00a
Contract Authentication Card Id: 373
Auth Class: com.novell.nidp.authentication.local.SocialAuthClass
Auth Class Page to Show: socialauth
Request Param: option: credential
</amLogEntry>

<amLogEntry> 2019-03-25T07:13:56Z DEBUG NIDS Application:
Method: NIDPServletContext.goJSP
Thread: http-nio-192.168.128.30-8443-exec-7
Forwarding to JSP: /jsp/socialauth.jsp </amLogEntry>

<amLogEntry> 2019-03-25T07:13:56Z DEBUG NIDS Application:
Method: CacheMap.A
Thread: http-nio-192.168.128.30-8443-exec-7

Retrieval of object com.novell.nidp.servlets.NIDPServletSession@296b6dda from cache session succeeded using key 0536ba3548b2d0aba2590146d2baa7c631d0554ef22d22f96a2c7529185828dc. Cache size is 4
</amLogEntry>

<amLogEntry> 2019-03-25T07:13:56Z DEBUG NIDS Application:
Method: CacheMap.A
Thread: http-nio-192.168.128.30-8443-exec-7

Retrieval of object com.novell.nidp.servlets.NIDPServletSession@296b6dda from cache session succeeded using key 0536ba3548b2d0aba2590146d2baa7c631d0554ef22d22f96a2c7529185828dc. Cache size is 4
</amLogEntry>

<amLogEntry> 2019-03-25T07:13:56Z DEBUG NIDS Application:
Method: NIDPProxyableServlet.myDoGetWithProxy
Thread: http-nio-192.168.128.30-8443-exec-3
****** HttpServletRequest Information:
Method: GET
Scheme: https
Context Path: /nidp
Servlet Path: /app
Query String: sid=1&sid=1&authid=facebook&option=credential
Path Info: /login
Server Name: slogin.ouhk.edu.hk
Server Port: 443
Content Length: -1
Content Type: null
Auth Type: null
Request URL: https://slogin.ouhk.edu.hk/nidp/app/login
Host IP Address: 202.40.220.236
Remote Client IP Address: 192.168.128.1
Cookie: (0 of 2): UrnNovellNidpClusterMemberId, ~03~0Bslo~0A~0B~14oof~02~00~02
Unobfuscated: UrnNovellNidpClusterMemberId: 192.168.128.30
Cookie: (1 of 2): JSESSIONID, 0536ba3548b2d0aba2590146d2baa7c631d0554ef22d22f96a2c7529185828dc
Header: Name: host, Value: slogin.ouhk.edu.hk
Header: Name: connection, Value: keep-alive
Header: Name: upgrade-insecure-requests, Value: 1
Header: Name: user-agent, Value: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.109 Safari/537.36
Header: Name: accept, Value: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8
Header: Name: referer, Value: https://slogin.ouhk.edu.hk/nidp/jsp/main.jsp?id=373&sid=1
Header: Name: accept-encoding, Value: gzip, deflate, br
Header: Name: accept-language, Value: en-US,en;q=0.9
Header: Name: x-forwarded-for, Value: 202.129.166.106
Session Id: 0536ba3548b2d0aba2590146d2baa7c631d0554ef22d22f96a2c7529185828dc
Session Last Accessed Time: 1553498036727
</amLogEntry>

<amLogEntry> 2019-03-25T07:13:56Z VERBOSE NIDS Application: AM#600105004: AMDEVICEID#41663BE3DB7DE15A: AMAUTHID#0536ba3548b2d0aba2590146d2baa7c631d0554ef22d22f96a2c7529185828dc: Obtained ip address of cluster member handling this users requests from HTTP cookie. Address: 192.168.128.30 </amLogEntry>

<amLogEntry> 2019-03-25T07:13:56Z VERBOSE NIDS Application: AM#600105002: AMDEVICEID#41663BE3DB7DE15A: AMAUTHID#0536ba3548b2d0aba2590146d2baa7c631d0554ef22d22f96a2c7529185828dc: Do not need to proxy HTTP request to other cluster member. This cluster member can handle requests for this user. </amLogEntry>

<amLogEntry> 2019-03-25T07:13:56Z DEBUG NIDS Application:
Method: CacheMap.A
Thread: http-nio-192.168.128.30-8443-exec-3

Retrieval of object com.novell.nidp.servlets.NIDPServletSession@296b6dda from cache session succeeded using key 0536ba3548b2d0aba2590146d2baa7c631d0554ef22d22f96a2c7529185828dc. Cache size is 4
</amLogEntry>

<amLogEntry> 2019-03-25T07:13:56Z DEBUG NIDS Application:
Method: CacheMap.A
Thread: http-nio-192.168.128.30-8443-exec-3

Retrieval of object com.novell.nidp.servlets.NIDPServletSession@296b6dda from cache session succeeded using key 0536ba3548b2d0aba2590146d2baa7c631d0554ef22d22f96a2c7529185828dc. Cache size is 4
</amLogEntry>

<amLogEntry> 2019-03-25T07:13:56Z VERBOSE NIDS Application: Session has consumed authentications: false </amLogEntry>

<amLogEntry> 2019-03-25T07:13:56Z DEBUG NIDS Application:
Method: CacheMap.A
Thread: http-nio-192.168.128.30-8443-exec-3

Retrieval of object com.novell.nidp.servlets.NIDPServletSession@296b6dda from cache session succeeded using key 0536ba3548b2d0aba2590146d2baa7c631d0554ef22d22f96a2c7529185828dc. Cache size is 4
</amLogEntry>

<amLogEntry> 2019-03-25T07:13:56Z DEBUG NIDS Application:
Method: CommonHandler.handleRequest
Thread: http-nio-192.168.128.30-8443-exec-3
Handling request: login </amLogEntry>

<amLogEntry> 2019-03-25T07:13:56Z VERBOSE NIDS Application: Session has consumed authentications: false </amLogEntry>

<amLogEntry> 2019-03-25T07:13:56Z INFO NIDS Application: AM#500105015: AMDEVICEID#41663BE3DB7DE15A: AMAUTHID#0536ba3548b2d0aba2590146d2baa7c631d0554ef22d22f96a2c7529185828dc: Processing login request with TARGET = , saved TARGET = . </amLogEntry>

<amLogEntry> 2019-03-25T07:13:56Z INFO NIDS Application: AM#500105009: AMDEVICEID#41663BE3DB7DE15A: AMAUTHID#0536ba3548b2d0aba2590146d2baa7c631d0554ef22d22f96a2c7529185828dc: Executing contract facebook. </amLogEntry>

<amLogEntry> 2019-03-25T07:13:56Z VERBOSE NIDS Application: Session has consumed authentications: false </amLogEntry>

<amLogEntry> 2019-03-25T07:13:56Z VERBOSE NIDS Application: Session has consumed authentications: false </amLogEntry>

<amLogEntry> 2019-03-25T07:13:56Z VERBOSE NIDS Application: Session has consumed authentications: false </amLogEntry>

<amLogEntry> 2019-03-25T07:13:56Z VERBOSE NIDS Application: Executing authentication method facebook </amLogEntry>

<amLogEntry> 2019-03-25T07:13:56Z DEBUG NIDS Application:
Method: SocialAuthClass.N
Thread: http-nio-192.168.128.30-8443-exec-3
Recieved blob from Server null </amLogEntry>

<amLogEntry> 2019-03-25T07:13:56Z DEBUG NIDS Application:
Method: SocialAuthClass.N
Thread: http-nio-192.168.128.30-8443-exec-3
Auto Provision State: Process Social Auth
Request Parameter "socialauth_return": null
Request Parameter "authid": facebook
</amLogEntry>

Mar 25, 2019 3:13:56 PM org.brickred.socialauth.provider.FacebookImpl registerPlugins
INFO: Loading plugins
Mar 25, 2019 3:13:56 PM org.brickred.socialauth.provider.FacebookImpl registerPlugins
INFO: Loading plugin :: org.brickred.socialauth.plugin.facebook.AlbumsPluginImpl
Mar 25, 2019 3:13:56 PM org.brickred.socialauth.provider.FacebookImpl registerPlugins
INFO: Loading plugin :: org.brickred.socialauth.plugin.facebook.FeedPluginImpl
Mar 25, 2019 3:13:56 PM org.brickred.socialauth.oauthstrategy.OAuth2 getLoginRedirectURL
INFO: Determining URL for redirection
Mar 25, 2019 3:13:56 PM org.brickred.socialauth.oauthstrategy.OAuth2 getLoginRedirectURL
INFO: Redirection to following URL should happen : https://graph.facebook.com/oauth/authorize?client_id=345513532746397&response_type=code&redirect_uri=https%3A%2F%2Fslogin.ouhk.edu.hk%2Fnidp%2Fjsp%2Fsocialauth_return.jsp&scope=email
<amLogEntry> 2019-03-25T07:13:56Z DEBUG NIDS Application:
Method: SocialAuthClass.N
Thread: http-nio-192.168.128.30-8443-exec-3
Redirect request to social provider site.
Redirect Url: https://graph.facebook.com/oauth/authorize?client_id=345513532746397&response_type=code&redirect_uri=https%3A%2F%2Fslogin.ouhk.edu.hk%2Fnidp%2Fjsp%2Fsocialauth_return.jsp&scope=email
Request Attribute "onsuccess_return_url": https://slogin.ouhk.edu.hk/nidp/app/login?sid=1
</amLogEntry>

<amLogEntry> 2019-03-25T07:13:56Z DEBUG NIDS Application:
Method: NIDPServletContext.sendRedirect
Thread: http-nio-192.168.128.30-8443-exec-3
<redirect location='https://graph.facebook.com/oauth/authorize'><parameters><client_id>345513532746397</client_id><response_type>code</response_type><redirect_uri>https://slogin.ouhk.edu.hk/nidp/jsp/socialauth_return.jsp</redirect_uri><scope>email</scope></parameters></redirect> </amLogEntry>

<amLogEntry> 2019-03-25T07:13:56Z DEBUG NIDS Application:
Method: NIDPServletContext.sendRedirect
Thread: http-nio-192.168.128.30-8443-exec-3
Sending Redirect: https://graph.facebook.com/oauth/authorize?client_id=345513532746397&response_type=code&redirect_uri=https%3A%2F%2Fslogin.ouhk.edu.hk%2Fnidp%2Fjsp%2Fsocialauth_return.jsp&scope=email </amLogEntry>

<amLogEntry> 2019-03-25T07:13:56Z VERBOSE NIDS Application: Authentication method facebook requires additional interaction. </amLogEntry>

<amLogEntry> 2019-03-25T07:13:56Z DEBUG NIDS Application:
Method: PageToShow.addAttribute
Thread: http-nio-192.168.128.30-8443-exec-3
Attribute added to page [socialauth] is [url]=[https://slogin.ouhk.edu.hk/nidp/app/login?sid=1&sid=1&sid=1]. </amLogEntry>

<amLogEntry> 2019-03-25T07:13:56Z DEBUG NIDS Application:
Method: ContractExecutionState.exec
Thread: http-nio-192.168.128.30-8443-exec-3
Just returned from call to doContract():
Status: HANDLED_REQUEST
Contract: facebook
Contract Authentication Card: com.novell.nidp.authentication.card.LocalAuthenticationCard@7695c00a
Contract Authentication Card Id: 373
Auth Class: com.novell.nidp.authentication.local.SocialAuthClass
Auth Class Page to Show: socialauth
Request Param: option: credential
</amLogEntry>

<amLogEntry> 2019-03-25T07:13:56Z INFO NIDS Application: AM#500105010: AMDEVICEID#41663BE3DB7DE15A: AMAUTHID#0536ba3548b2d0aba2590146d2baa7c631d0554ef22d22f96a2c7529185828dc: Contract facebook requires additional interaction. </amLogEntry>

<amLogEntry> 2019-03-25T07:13:56Z DEBUG NIDS Application:
Method: CacheMap.A
Thread: http-nio-192.168.128.30-8443-exec-3

Retrieval of object com.novell.nidp.servlets.NIDPServletSession@296b6dda from cache session succeeded using key 0536ba3548b2d0aba2590146d2baa7c631d0554ef22d22f96a2c7529185828dc. Cache size is 4
</amLogEntry>

<amLogEntry> 2019-03-25T07:13:58Z DEBUG NIDS Application:
Method: CacheMap.A
Thread: http-nio-192.168.128.30-8443-exec-5

Retrieval of object com.novell.nidp.servlets.NIDPServletSession@296b6dda from cache session succeeded using key 0536ba3548b2d0aba2590146d2baa7c631d0554ef22d22f96a2c7529185828dc. Cache size is 4
</amLogEntry>

<amLogEntry> 2019-03-25T07:13:58Z DEBUG NIDS Application:
Method: CacheMap.A
Thread: http-nio-192.168.128.30-8443-exec-5

Retrieval of object com.novell.nidp.servlets.NIDPServletSession@296b6dda from cache session succeeded using key 0536ba3548b2d0aba2590146d2baa7c631d0554ef22d22f96a2c7529185828dc. Cache size is 4
</amLogEntry>

<amLogEntry> 2019-03-25T07:13:58Z VERBOSE NIDS Application: Session has consumed authentications: false </amLogEntry>

<amLogEntry> 2019-03-25T07:13:58Z DEBUG NIDS Application:
Method: NIDPProxyableServlet.myDoGetWithProxy
Thread: http-nio-192.168.128.30-8443-exec-5
****** HttpServletRequest Information:
Method: GET
Scheme: https
Context Path: /nidp
Servlet Path: /jsp/socialauth_return.jsp
Query String: code=AQCElbncEYV-S0_tu1qjHl8JQhxVDxFJN2D9OfE5hBzwKv4B44ODcj2Z_CbxVOA7fuOR0J34mvmrKQR5a5MGLQxsiRwbFbBILeiWtYcCNr6q2nZT3aheuSX6LDL65pGa1LyEHhSSdBtcfljs9L8LIILJ0kOVDaXpIbnSHFsGMaKv_-1VGbUAC5us5vjveqlMHgOAWBvqC2FDORJKHWaciTtTVrxVWsDc1ldRI6ZmP0KdbStTK_UIl0IVY5jACjrvNS5yVVLFm4Yyed3jvYb2WJ7r3YifDcvNJZon7mXDeqIaoQL5iUwdKZFZBbkewugzn8d4le1Jl0szmRhEmDku8zPC
Path Info: null
Server Name: slogin.ouhk.edu.hk
Server Port: 443
Content Length: -1
Content Type: null
Auth Type: null
Request URL: https://slogin.ouhk.edu.hk/nidp/jsp/socialauth_return.jsp
Host IP Address: 202.40.220.236
Remote Client IP Address: 192.168.128.1
Cookie: (0 of 2): UrnNovellNidpClusterMemberId, ~03~0Bslo~0A~0B~14oof~02~00~02
Unobfuscated: UrnNovellNidpClusterMemberId: 192.168.128.30
Cookie: (1 of 2): JSESSIONID, 0536ba3548b2d0aba2590146d2baa7c631d0554ef22d22f96a2c7529185828dc
Header: Name: host, Value: slogin.ouhk.edu.hk
Header: Name: connection, Value: keep-alive
Header: Name: upgrade-insecure-requests, Value: 1
Header: Name: user-agent, Value: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.109 Safari/537.36
Header: Name: accept, Value: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8
Header: Name: referer, Value: https://slogin.ouhk.edu.hk/nidp/jsp/main.jsp?id=373&sid=1
Header: Name: accept-encoding, Value: gzip, deflate, br
Header: Name: accept-language, Value: en-US,en;q=0.9
Header: Name: x-forwarded-for, Value: 202.129.166.106
Session Id: 0536ba3548b2d0aba2590146d2baa7c631d0554ef22d22f96a2c7529185828dc
Session Last Accessed Time: 1553498036810
</amLogEntry>

<amLogEntry> 2019-03-25T07:13:58Z VERBOSE NIDS Application: AM#600105004: AMDEVICEID#41663BE3DB7DE15A: AMAUTHID#0536ba3548b2d0aba2590146d2baa7c631d0554ef22d22f96a2c7529185828dc: Obtained ip address of cluster member handling this users requests from HTTP cookie. Address: 192.168.128.30 </amLogEntry>

<amLogEntry> 2019-03-25T07:13:58Z VERBOSE NIDS Application: AM#600105002: AMDEVICEID#41663BE3DB7DE15A: AMAUTHID#0536ba3548b2d0aba2590146d2baa7c631d0554ef22d22f96a2c7529185828dc: Do not need to proxy HTTP request to other cluster member. This cluster member can handle requests for this user. </amLogEntry>

<amLogEntry> 2019-03-25T07:13:58Z DEBUG NIDS Application:
Method: NIDPJspFilter.doFilter
Thread: http-nio-192.168.128.30-8443-exec-5
JSP request did not need to be proxied to a different server! </amLogEntry>

<amLogEntry> 2019-03-25T07:13:59Z DEBUG NIDS Application:
Method: NIDPProxyableServlet.myDoGetWithProxy
Thread: http-nio-192.168.128.30-8443-exec-1
****** HttpServletRequest Information:
Method: GET
Scheme: https
Context Path: /nidp
Servlet Path: /app
Query String: sid=1&code=AQCElbncEYV-S0_tu1qjHl8JQhxVDxFJN2D9OfE5hBzwKv4B44ODcj2Z_CbxVOA7fuOR0J34mvmrKQR5a5MGLQxsiRwbFbBILeiWtYcCNr6q2nZT3aheuSX6LDL65pGa1LyEHhSSdBtcfljs9L8LIILJ0kOVDaXpIbnSHFsGMaKv_-1VGbUAC5us5vjveqlMHgOAWBvqC2FDORJKHWaciTtTVrxVWsDc1ldRI6ZmP0KdbStTK_UIl0IVY5jACjrvNS5yVVLFm4Yyed3jvYb2WJ7r3YifDcvNJZon7mXDeqIaoQL5iUwdKZFZBbkewugzn8d4le1Jl0szmRhEmDku8zPC&option=credential
Path Info: /login
Server Name: slogin.ouhk.edu.hk
Server Port: 443
Content Length: -1
Content Type: null
Auth Type: null
Request URL: https://slogin.ouhk.edu.hk/nidp/app/login
Host IP Address: 202.40.220.236
Remote Client IP Address: 192.168.128.1
Cookie: (0 of 2): UrnNovellNidpClusterMemberId, ~03~0Bslo~0A~0B~14oof~02~00~02
Unobfuscated: UrnNovellNidpClusterMemberId: 192.168.128.30
Cookie: (1 of 2): JSESSIONID, 0536ba3548b2d0aba2590146d2baa7c631d0554ef22d22f96a2c7529185828dc
Header: Name: host, Value: slogin.ouhk.edu.hk
Header: Name: connection, Value: keep-alive
Header: Name: upgrade-insecure-requests, Value: 1
Header: Name: user-agent, Value: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.109 Safari/537.36
Header: Name: accept, Value: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8
Header: Name: referer, Value: https://slogin.ouhk.edu.hk/nidp/jsp/main.jsp?id=373&sid=1
Header: Name: accept-encoding, Value: gzip, deflate, br
Header: Name: accept-language, Value: en-US,en;q=0.9
Header: Name: x-forwarded-for, Value: 202.129.166.106
Session Id: 0536ba3548b2d0aba2590146d2baa7c631d0554ef22d22f96a2c7529185828dc
Session Last Accessed Time: 1553498038981
</amLogEntry>

<amLogEntry> 2019-03-25T07:13:59Z VERBOSE NIDS Application: AM#600105004: AMDEVICEID#41663BE3DB7DE15A: AMAUTHID#0536ba3548b2d0aba2590146d2baa7c631d0554ef22d22f96a2c7529185828dc: Obtained ip address of cluster member handling this users requests from HTTP cookie. Address: 192.168.128.30 </amLogEntry>

<amLogEntry> 2019-03-25T07:13:59Z VERBOSE NIDS Application: AM#600105002: AMDEVICEID#41663BE3DB7DE15A: AMAUTHID#0536ba3548b2d0aba2590146d2baa7c631d0554ef22d22f96a2c7529185828dc: Do not need to proxy HTTP request to other cluster member. This cluster member can handle requests for this user. </amLogEntry>

<amLogEntry> 2019-03-25T07:13:59Z DEBUG NIDS Application:
Method: CacheMap.A
Thread: http-nio-192.168.128.30-8443-exec-1

Retrieval of object com.novell.nidp.servlets.NIDPServletSession@296b6dda from cache session succeeded using key 0536ba3548b2d0aba2590146d2baa7c631d0554ef22d22f96a2c7529185828dc. Cache size is 4
</amLogEntry>

<amLogEntry> 2019-03-25T07:13:59Z DEBUG NIDS Application:
Method: CacheMap.A
Thread: http-nio-192.168.128.30-8443-exec-1

Retrieval of object com.novell.nidp.servlets.NIDPServletSession@296b6dda from cache session succeeded using key 0536ba3548b2d0aba2590146d2baa7c631d0554ef22d22f96a2c7529185828dc. Cache size is 4
</amLogEntry>

<amLogEntry> 2019-03-25T07:13:59Z VERBOSE NIDS Application: Session has consumed authentications: false </amLogEntry>

<amLogEntry> 2019-03-25T07:13:59Z DEBUG NIDS Application:
Method: CacheMap.A
Thread: http-nio-192.168.128.30-8443-exec-1

Retrieval of object com.novell.nidp.servlets.NIDPServletSession@296b6dda from cache session succeeded using key 0536ba3548b2d0aba2590146d2baa7c631d0554ef22d22f96a2c7529185828dc. Cache size is 4
</amLogEntry>

<amLogEntry> 2019-03-25T07:13:59Z DEBUG NIDS Application:
Method: CommonHandler.handleRequest
Thread: http-nio-192.168.128.30-8443-exec-1
Handling request: login </amLogEntry>

<amLogEntry> 2019-03-25T07:13:59Z VERBOSE NIDS Application: Session has consumed authentications: false </amLogEntry>

<amLogEntry> 2019-03-25T07:13:59Z INFO NIDS Application: AM#500105015: AMDEVICEID#41663BE3DB7DE15A: AMAUTHID#0536ba3548b2d0aba2590146d2baa7c631d0554ef22d22f96a2c7529185828dc: Processing login request with TARGET = , saved TARGET = . </amLogEntry>

<amLogEntry> 2019-03-25T07:13:59Z INFO NIDS Application: AM#500105009: AMDEVICEID#41663BE3DB7DE15A: AMAUTHID#0536ba3548b2d0aba2590146d2baa7c631d0554ef22d22f96a2c7529185828dc: Executing contract facebook. </amLogEntry>

<amLogEntry> 2019-03-25T07:13:59Z VERBOSE NIDS Application: Session has consumed authentications: false </amLogEntry>

<amLogEntry> 2019-03-25T07:13:59Z VERBOSE NIDS Application: Session has consumed authentications: false </amLogEntry>

<amLogEntry> 2019-03-25T07:13:59Z VERBOSE NIDS Application: Session has consumed authentications: false </amLogEntry>

<amLogEntry> 2019-03-25T07:13:59Z VERBOSE NIDS Application: Executing authentication method facebook </amLogEntry>

<amLogEntry> 2019-03-25T07:13:59Z DEBUG NIDS Application:
Method: SocialAuthClass.N
Thread: http-nio-192.168.128.30-8443-exec-1
Recieved blob from Server null </amLogEntry>

<amLogEntry> 2019-03-25T07:13:59Z DEBUG NIDS Application:
Method: SocialAuthClass.N
Thread: http-nio-192.168.128.30-8443-exec-1
Auto Provision State: Process Social Auth
Request Parameter "socialauth_return": true
Request Parameter "authid": null
</amLogEntry>

Mar 25, 2019 3:13:59 PM org.brickred.socialauth.SocialAuthManager connect
INFO: Connecting provider : facebook
Mar 25, 2019 3:13:59 PM org.brickred.socialauth.provider.FacebookImpl doVerifyResponse
INFO: Retrieving Access Token in verify response function
Mar 25, 2019 3:13:59 PM org.brickred.socialauth.oauthstrategy.OAuth2 verifyResponse
INFO: Verifying the authentication response from provider
<amLogEntry> 2019-03-25T07:14:28Z WARNING NIDS Application: Exception provisioning a Social Authenticated User: org.brickred.socialauth.exception.SocialAuthException: Error in url : https://graph.facebook.com/oauth/access_token?client_id=345513532746397&redirect_uri=https%3A%2F%2Fslogin.ouhk.edu.hk%2Fnidp%2Fjsp%2Fsocialauth_return.jsp&client_secret=557117624826633e298cb346b341efc1&code=AQCElbncEYV-S0_tu1qjHl8JQhxVDxFJN2D9OfE5hBzwKv4B44ODcj2Z_CbxVOA7fuOR0J34mvmrKQR5a5MGLQxsiRwbFbBILeiWtYcCNr6q2nZT3aheuSX6LDL65pGa1LyEHhSSdBtcfljs9L8LIILJ0kOVDaXpIbnSHFsGMaKv_-1VGbUAC5us5vjveqlMHgOAWBvqC2FDORJKHWaciTtTVrxVWsDc1ldRI6ZmP0KdbStTK_UIl0IVY5jACjrvNS5yVVLFm4Yyed3jvYb2WJ7r3YifDcvNJZon7mXDeqIaoQL5iUwdKZFZBbkewugzn8d4le1Jl0szmRhEmDku8zPC&grant_type=authorization_code
Exception message: "Error in url : https://graph.facebook.com/oauth/access_token?client_id=345513532746397&redirect_uri=https%3A%2F%2Fslogin.ouhk.edu.hk%2Fnidp%2Fjsp%2Fsocialauth_return.jsp&client_secret=557117624826633e298cb346b341efc1&code=AQCElbncEYV-S0_tu1qjHl8JQhxVDxFJN2D9OfE5hBzwKv4B44ODcj2Z_CbxVOA7fuOR0J34mvmrKQR5a5MGLQxsiRwbFbBILeiWtYcCNr6q2nZT3aheuSX6LDL65pGa1LyEHhSSdBtcfljs9L8LIILJ0kOVDaXpIbnSHFsGMaKv_-1VGbUAC5us5vjveqlMHgOAWBvqC2FDORJKHWaciTtTVrxVWsDc1ldRI6ZmP0KdbStTK_UIl0IVY5jACjrvNS5yVVLFm4Yyed3jvYb2WJ7r3YifDcvNJZon7mXDeqIaoQL5iUwdKZFZBbkewugzn8d4le1Jl0szmRhEmDku8zPC&grant_type=authorization_code"
OAuth2.java, Line: 187, Method: verifyResponse
OAuth2.java, Line: 114, Method: verifyResponse
FacebookImpl.java, Line: 194, Method: doVerifyResponse
FacebookImpl.java, Line: 184, Method: verifyResponse
SocialAuthManager.java, Line: 184, Method: connect
y, Line: 1928, Method: C
y, Line: 2928, Method: N
y, Line: 730, Method: doAuthenticate
y, Line: 1612, Method: authenticate
y, Line: 1066, Method: A
y, Line: 343, Method: doContract
y, Line: 3514, Method: exec
y, Line: 1503, Method: execute
y, Line: 3262, Method: A
y, Line: 2894, Method: executeContract
y, Line: 1665, Method: A
y, Line: 1850, Method: login
y, Line: 3356, Method: handleLogin
y, Line: 2306, Method: handleRequest
y, Line: 1254, Method: myDoGet
y, Line: 3180, Method: doGet
HttpServlet.java, Line: 622, Method: service
HttpServlet.java, Line: 729, Method: service
ApplicationFilterChain.java, Line: 292, Method: internalDoFilter
ApplicationFilterChain.java, Line: 207, Method: doFilter
WsFilter.java, Line: 52, Method: doFilter
ApplicationFilterChain.java, Line: 240, Method: internalDoFilter
ApplicationFilterChain.java, Line: 207, Method: doFilter
FilterChainInvocation.java, Line: 66, Method: doFilter
FilterDefinition.java, Line: 168, Method: doFilter
FilterChainInvocation.java, Line: 58, Method: doFilter
ManagedFilterPipeline.java, Line: 118, Method: dispatch
GuiceFilter.java, Line: 113, Method: doFilter
ApplicationFilterChain.java, Line: 240, Method: internalDoFilter
ApplicationFilterChain.java, Line: 207, Method: doFilter
y, Line: 366, Method: doFilter
ApplicationFilterChain.java, Line: 240, Method: internalDoFilter
ApplicationFilterChain.java, Line: 207, Method: doFilter
HttpHeaderSecurityFilter.java, Line: 124, Method: doFilter
ApplicationFilterChain.java, Line: 240, Method: internalDoFilter
ApplicationFilterChain.java, Line: 207, Method: doFilter
y, Line: 1738, Method: doFilter
ApplicationFilterChain.java, Line: 240, Method: internalDoFilter
ApplicationFilterChain.java, Line: 207, Method: doFilter
StandardWrapperValve.java, Line: 212, Method: invoke
StandardContextValve.java, Line: 94, Method: invoke
AuthenticatorBase.java, Line: 496, Method: invoke
StandardHostValve.java, Line: 141, Method: invoke
ErrorReportValve.java, Line: 79, Method: invoke
StandardEngineValve.java, Line: 88, Method: invoke
CoyoteAdapter.java, Line: 502, Method: service
AbstractHttp11Processor.java, Line: 1132, Method: process
AbstractProtocol.java, Line: 684, Method: process
NioEndpoint.java, Line: 1539, Method: doRun
NioEndpoint.java, Line: 1495, Method: run
ThreadPoolExecutor.java, Line: 1149, Method: runWorker
ThreadPoolExecutor.java, Line: 624, Method: run
TaskThread.java, Line: 61, Method: run
Thread.java, Line: 748, Method: run
</amLogEntry>

<amLogEntry> 2019-03-25T07:14:28Z DEBUG NIDS Application:
Method: PageToShow.addAttribute
Thread: http-nio-192.168.128.30-8443-exec-1
Attribute added to page [socialauth] is [url]=[https://slogin.ouhk.edu.hk/nidp/app/login?sid=1]. </amLogEntry>

<amLogEntry> 2019-03-25T07:14:28Z DEBUG NIDS Application:
Method: SocialAuthClass.A
Thread: http-nio-192.168.128.30-8443-exec-1
JSP: socialauth
Return Url: https://slogin.ouhk.edu.hk/nidp/app/login?sid=1
Request Parameter "authid": null
Total Number of Providers: 1
</amLogEntry>

<amLogEntry> 2019-03-25T07:14:28Z VERBOSE NIDS Application: Authentication method facebook requires additional interaction. </amLogEntry>

<amLogEntry> 2019-03-25T07:14:28Z DEBUG NIDS Application:
Method: PageToShow.addAttribute
Thread: http-nio-192.168.128.30-8443-exec-1
Attribute added to page [socialauth] is [url]=[https://slogin.ouhk.edu.hk/nidp/app/login?sid=1&sid=1]. </amLogEntry>

<amLogEntry> 2019-03-25T07:14:28Z DEBUG NIDS Application:
Method: ContractExecutionState.exec
Thread: http-nio-192.168.128.30-8443-exec-1
Just returned from call to doContract():
Status: SHOW_PAGE
Contract: facebook
Contract Authentication Card: com.novell.nidp.authentication.card.LocalAuthenticationCard@7695c00a
Contract Authentication Card Id: 373
Auth Class: com.novell.nidp.authentication.local.SocialAuthClass
Auth Class Page to Show: socialauth
Request Param: option: credential
</amLogEntry>

<amLogEntry> 2019-03-25T07:14:28Z DEBUG NIDS Application:
Method: NIDPServletContext.goJSP
Thread: http-nio-192.168.128.30-8443-exec-1
Forwarding to JSP: /jsp/socialauth.jsp </amLogEntry>

<amLogEntry> 2019-03-25T07:14:28Z DEBUG NIDS Application:
Method: CacheMap.A
Thread: http-nio-192.168.128.30-8443-exec-1

Retrieval of object com.novell.nidp.servlets.NIDPServletSession@296b6dda from cache session succeeded using key 0536ba3548b2d0aba2590146d2baa7c631d0554ef22d22f96a2c7529185828dc. Cache size is 4
</amLogEntry>

<amLogEntry> 2019-03-25T07:14:28Z DEBUG NIDS Application:
Method: CacheMap.A
Thread: http-nio-192.168.128.30-8443-exec-1

Retrieval of object com.novell.nidp.servlets.NIDPServletSession@296b6dda from cache session succeeded using key 0536ba3548b2d0aba2590146d2baa7c631d0554ef22d22f96a2c7529185828dc. Cache size is 4
</amLogEntry>

<amLogEntry> 2019-03-25T07:14:29Z DEBUG NIDS Application:
Method: NIDPProxyableServlet.myDoGetWithProxy
Thread: http-nio-192.168.128.30-8443-exec-3
****** HttpServletRequest Information:
Method: GET
Scheme: https
Context Path: /nidp
Servlet Path: /app
Query String: sid=1&sid=1&authid=facebook&option=credential
Path Info: /login
Server Name: slogin.ouhk.edu.hk
Server Port: 443
Content Length: -1
Content Type: null
Auth Type: null
Request URL: https://slogin.ouhk.edu.hk/nidp/app/login
Host IP Address: 202.40.220.236
Remote Client IP Address: 192.168.128.1
Cookie: (0 of 2): UrnNovellNidpClusterMemberId, ~03~0Bslo~0A~0B~14oof~02~00~02
Unobfuscated: UrnNovellNidpClusterMemberId: 192.168.128.30
Cookie: (1 of 2): JSESSIONID, 0536ba3548b2d0aba2590146d2baa7c631d0554ef22d22f96a2c7529185828dc
Header: Name: host, Value: slogin.ouhk.edu.hk
Header: Name: connection, Value: keep-alive
Header: Name: upgrade-insecure-requests, Value: 1
Header: Name: user-agent, Value: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.109 Safari/537.36
Header: Name: accept, Value: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8
Header: Name: referer, Value: https://slogin.ouhk.edu.hk/nidp/app/login?sid=1&code=AQCElbncEYV-S0_tu1qjHl8JQhxVDxFJN2D9OfE5hBzwKv4B44ODcj2Z_CbxVOA7fuOR0J34mvmrKQR5a5MGLQxsiRwbFbBILeiWtYcCNr6q2nZT3aheuSX6LDL65pGa1LyEHhSSdBtcfljs9L8LIILJ0kOVDaXpIbnSHFsGMaKv_-1VGbUAC5us5vjveqlMHgOAWBvqC2FDORJKHWaciTtTVrxVWsDc1ldRI6ZmP0KdbStTK_UIl0IVY5jACjrvNS5yVVLFm4Yyed3jvYb2WJ7r3YifDcvNJZon7mXDeqIaoQL5iUwdKZFZBbkewugzn8d4le1Jl0szmRhEmDku8zPC&option=credential
Header: Name: accept-encoding, Value: gzip, deflate, br
Header: Name: accept-language, Value: en-US,en;q=0.9
Header: Name: x-forwarded-for, Value: 202.129.166.106
Session Id: 0536ba3548b2d0aba2590146d2baa7c631d0554ef22d22f96a2c7529185828dc
Session Last Accessed Time: 1553498068132
</amLogEntry>

<amLogEntry> 2019-03-25T07:14:29Z VERBOSE NIDS Application: AM#600105004: AMDEVICEID#41663BE3DB7DE15A: AMAUTHID#0536ba3548b2d0aba2590146d2baa7c631d0554ef22d22f96a2c7529185828dc: Obtained ip address of cluster member handling this users requests from HTTP cookie. Address: 192.168.128.30 </amLogEntry>

<amLogEntry> 2019-03-25T07:14:29Z VERBOSE NIDS Application: AM#600105002: AMDEVICEID#41663BE3DB7DE15A: AMAUTHID#0536ba3548b2d0aba2590146d2baa7c631d0554ef22d22f96a2c7529185828dc: Do not need to proxy HTTP request to other cluster member. This cluster member can handle requests for this user. </amLogEntry>

<amLogEntry> 2019-03-25T07:14:29Z DEBUG NIDS Application:
Method: CacheMap.A
Thread: http-nio-192.168.128.30-8443-exec-3

Retrieval of object com.novell.nidp.servlets.NIDPServletSession@296b6dda from cache session succeeded using key 0536ba3548b2d0aba2590146d2baa7c631d0554ef22d22f96a2c7529185828dc. Cache size is 4
</amLogEntry>

<amLogEntry> 2019-03-25T07:14:29Z DEBUG NIDS Application:
Method: CacheMap.A
Thread: http-nio-192.168.128.30-8443-exec-3

Retrieval of object com.novell.nidp.servlets.NIDPServletSession@296b6dda from cache session succeeded using key 0536ba3548b2d0aba2590146d2baa7c631d0554ef22d22f96a2c7529185828dc. Cache size is 4
</amLogEntry>

<amLogEntry> 2019-03-25T07:14:29Z VERBOSE NIDS Application: Session has consumed authentications: false </amLogEntry>

<amLogEntry> 2019-03-25T07:14:29Z DEBUG NIDS Application:
Method: CacheMap.A
Thread: http-nio-192.168.128.30-8443-exec-3

Retrieval of object com.novell.nidp.servlets.NIDPServletSession@296b6dda from cache session succeeded using key 0536ba3548b2d0aba2590146d2baa7c631d0554ef22d22f96a2c7529185828dc. Cache size is 4
</amLogEntry>

<amLogEntry> 2019-03-25T07:14:29Z DEBUG NIDS Application:
Method: CommonHandler.handleRequest
Thread: http-nio-192.168.128.30-8443-exec-3
Handling request: login </amLogEntry>

<amLogEntry> 2019-03-25T07:14:29Z VERBOSE NIDS Application: Session has consumed authentications: false </amLogEntry>

<amLogEntry> 2019-03-25T07:14:29Z INFO NIDS Application: AM#500105015: AMDEVICEID#41663BE3DB7DE15A: AMAUTHID#0536ba3548b2d0aba2590146d2baa7c631d0554ef22d22f96a2c7529185828dc: Processing login request with TARGET = , saved TARGET = . </amLogEntry>

<amLogEntry> 2019-03-25T07:14:29Z INFO NIDS Application: AM#500105009: AMDEVICEID#41663BE3DB7DE15A: AMAUTHID#0536ba3548b2d0aba2590146d2baa7c631d0554ef22d22f96a2c7529185828dc: Executing contract facebook. </amLogEntry>

<amLogEntry> 2019-03-25T07:14:29Z VERBOSE NIDS Application: Session has consumed authentications: false </amLogEntry>

<amLogEntry> 2019-03-25T07:14:29Z VERBOSE NIDS Application: Session has consumed authentications: false </amLogEntry>

<amLogEntry> 2019-03-25T07:14:29Z VERBOSE NIDS Application: Session has consumed authentications: false </amLogEntry>

<amLogEntry> 2019-03-25T07:14:29Z VERBOSE NIDS Application: Executing authentication method facebook </amLogEntry>

<amLogEntry> 2019-03-25T07:14:29Z DEBUG NIDS Application:
Method: SocialAuthClass.N
Thread: http-nio-192.168.128.30-8443-exec-3
Recieved blob from Server null </amLogEntry>

<amLogEntry> 2019-03-25T07:14:29Z DEBUG NIDS Application:
Method: SocialAuthClass.N
Thread: http-nio-192.168.128.30-8443-exec-3
Auto Provision State: Process Social Auth
Request Parameter "socialauth_return": null
Request Parameter "authid": facebook
</amLogEntry>

Mar 25, 2019 3:14:29 PM org.brickred.socialauth.provider.FacebookImpl registerPlugins
INFO: Loading plugins
Mar 25, 2019 3:14:29 PM org.brickred.socialauth.provider.FacebookImpl registerPlugins
INFO: Loading plugin :: org.brickred.socialauth.plugin.facebook.AlbumsPluginImpl
Mar 25, 2019 3:14:29 PM org.brickred.socialauth.provider.FacebookImpl registerPlugins
INFO: Loading plugin :: org.brickred.socialauth.plugin.facebook.FeedPluginImpl
Mar 25, 2019 3:14:29 PM org.brickred.socialauth.oauthstrategy.OAuth2 getLoginRedirectURL
INFO: Determining URL for redirection
Mar 25, 2019 3:14:29 PM org.brickred.socialauth.oauthstrategy.OAuth2 getLoginRedirectURL
INFO: Redirection to following URL should happen : https://graph.facebook.com/oauth/authorize?client_id=345513532746397&response_type=code&redirect_uri=https%3A%2F%2Fslogin.ouhk.edu.hk%2Fnidp%2Fjsp%2Fsocialauth_return.jsp&scope=email
<amLogEntry> 2019-03-25T07:14:29Z DEBUG NIDS Application:
Method: SocialAuthClass.N
Thread: http-nio-192.168.128.30-8443-exec-3
Redirect request to social provider site.
Redirect Url: https://graph.facebook.com/oauth/authorize?client_id=345513532746397&response_type=code&redirect_uri=https%3A%2F%2Fslogin.ouhk.edu.hk%2Fnidp%2Fjsp%2Fsocialauth_return.jsp&scope=email
Request Attribute "onsuccess_return_url": https://slogin.ouhk.edu.hk/nidp/app/login?sid=1
</amLogEntry>

<amLogEntry> 2019-03-25T07:14:29Z DEBUG NIDS Application:
Method: NIDPServletContext.sendRedirect
Thread: http-nio-192.168.128.30-8443-exec-3
<redirect location='https://graph.facebook.com/oauth/authorize'><parameters><client_id>345513532746397</client_id><response_type>code</response_type><redirect_uri>https://slogin.ouhk.edu.hk/nidp/jsp/socialauth_return.jsp</redirect_uri><scope>email</scope></parameters></redirect> </amLogEntry>

<amLogEntry> 2019-03-25T07:14:29Z DEBUG NIDS Application:
Method: NIDPServletContext.sendRedirect
Thread: http-nio-192.168.128.30-8443-exec-3
Sending Redirect: https://graph.facebook.com/oauth/authorize?client_id=345513532746397&response_type=code&redirect_uri=https%3A%2F%2Fslogin.ouhk.edu.hk%2Fnidp%2Fjsp%2Fsocialauth_return.jsp&scope=email </amLogEntry>

<amLogEntry> 2019-03-25T07:14:29Z VERBOSE NIDS Application: Authentication method facebook requires additional interaction. </amLogEntry>

<amLogEntry> 2019-03-25T07:14:29Z DEBUG NIDS Application:
Method: PageToShow.addAttribute
Thread: http-nio-192.168.128.30-8443-exec-3
Attribute added to page [socialauth] is [url]=[https://slogin.ouhk.edu.hk/nidp/app/login?sid=1&sid=1&sid=1]. </amLogEntry>

<amLogEntry> 2019-03-25T07:14:29Z DEBUG NIDS Application:
Method: ContractExecutionState.exec
Thread: http-nio-192.168.128.30-8443-exec-3
Just returned from call to doContract():
Status: HANDLED_REQUEST
Contract: facebook
Contract Authentication Card: com.novell.nidp.authentication.card.LocalAuthenticationCard@7695c00a
Contract Authentication Card Id: 373
Auth Class: com.novell.nidp.authentication.local.SocialAuthClass
Auth Class Page to Show: socialauth
Request Param: option: credential
</amLogEntry>

<amLogEntry> 2019-03-25T07:14:29Z INFO NIDS Application: AM#500105010: AMDEVICEID#41663BE3DB7DE15A: AMAUTHID#0536ba3548b2d0aba2590146d2baa7c631d0554ef22d22f96a2c7529185828dc: Contract facebook requires additional interaction. </amLogEntry>

<amLogEntry> 2019-03-25T07:14:29Z DEBUG NIDS Application:
Method: CacheMap.A
Thread: http-nio-192.168.128.30-8443-exec-3

Retrieval of object com.novell.nidp.servlets.NIDPServletSession@296b6dda from cache session succeeded using key 0536ba3548b2d0aba2590146d2baa7c631d0554ef22d22f96a2c7529185828dc. Cache size is 4
</amLogEntry>

<amLogEntry> 2019-03-25T07:14:30Z DEBUG NIDS Application:
Method: CacheMap.A
Thread: http-nio-192.168.128.30-8443-exec-5

Retrieval of object com.novell.nidp.servlets.NIDPServletSession@296b6dda from cache session succeeded using key 0536ba3548b2d0aba2590146d2baa7c631d0554ef22d22f96a2c7529185828dc. Cache size is 4
</amLogEntry>

<amLogEntry> 2019-03-25T07:14:30Z DEBUG NIDS Application:
Method: CacheMap.A
Thread: http-nio-192.168.128.30-8443-exec-5

Retrieval of object com.novell.nidp.servlets.NIDPServletSession@296b6dda from cache session succeeded using key 0536ba3548b2d0aba2590146d2baa7c631d0554ef22d22f96a2c7529185828dc. Cache size is 4
</amLogEntry>

<amLogEntry> 2019-03-25T07:14:30Z VERBOSE NIDS Application: Session has consumed authentications: false </amLogEntry>

<amLogEntry> 2019-03-25T07:14:30Z DEBUG NIDS Application:
Method: NIDPProxyableServlet.myDoGetWithProxy
Thread: http-nio-192.168.128.30-8443-exec-5
****** HttpServletRequest Information:
Method: GET
Scheme: https
Context Path: /nidp
Servlet Path: /jsp/socialauth_return.jsp
Query String: code=AQDK2p5rBgAvLdu26aeyg8jFbH05eZtHT6COPOCpb-yDWHn1jWdXlAFHanX8fUpD93n3fR0XdVFPLEsmys4B7vgXjMWeotGrJFRubATJcOOkWM6sxLQxhVBCQICzYVs9Qw5E2H-IFxfMxqxFfBvTnmqMGUIjpELooABQSYQ68uIYiNGKujYLUmEJ76Umhr4gclzkgUu-vcX1WIFNP9iixbNuhaE5huwGNEbrAsp4s56GgeZi091bD5vqTs1PxeiSuXZzJa61rn-KYIUuRnsV2jBEgYmsevqaW4VlqcC7ZVonsToij1PA-2cRycrumVcPByUXlYnsVuOJlEPWqKaoia_I
Path Info: null
Server Name: slogin.ouhk.edu.hk
Server Port: 443
Content Length: -1
Content Type: null
Auth Type: null
Request URL: https://slogin.ouhk.edu.hk/nidp/jsp/socialauth_return.jsp
Host IP Address: 202.40.220.236
Remote Client IP Address: 192.168.128.1
Cookie: (0 of 2): UrnNovellNidpClusterMemberId, ~03~0Bslo~0A~0B~14oof~02~00~02
Unobfuscated: UrnNovellNidpClusterMemberId: 192.168.128.30
Cookie: (1 of 2): JSESSIONID, 0536ba3548b2d0aba2590146d2baa7c631d0554ef22d22f96a2c7529185828dc
Header: Name: host, Value: slogin.ouhk.edu.hk
Header: Name: connection, Value: keep-alive
Header: Name: upgrade-insecure-requests, Value: 1
Header: Name: user-agent, Value: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.109 Safari/537.36
Header: Name: accept, Value: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8
Header: Name: referer, Value: https://slogin.ouhk.edu.hk/nidp/app/login?sid=1&code=AQCElbncEYV-S0_tu1qjHl8JQhxVDxFJN2D9OfE5hBzwKv4B44ODcj2Z_CbxVOA7fuOR0J34mvmrKQR5a5MGLQxsiRwbFbBILeiWtYcCNr6q2nZT3aheuSX6LDL65pGa1LyEHhSSdBtcfljs9L8LIILJ0kOVDaXpIbnSHFsGMaKv_-1VGbUAC5us5vjveqlMHgOAWBvqC2FDORJKHWaciTtTVrxVWsDc1ldRI6ZmP0KdbStTK_UIl0IVY5jACjrvNS5yVVLFm4Yyed3jvYb2WJ7r3YifDcvNJZon7mXDeqIaoQL5iUwdKZFZBbkewugzn8d4le1Jl0szmRhEmDku8zPC&option=credential
Header: Name: accept-encoding, Value: gzip, deflate, br
Header: Name: accept-language, Value: en-US,en;q=0.9
Header: Name: x-forwarded-for, Value: 202.129.166.106
Session Id: 0536ba3548b2d0aba2590146d2baa7c631d0554ef22d22f96a2c7529185828dc
Session Last Accessed Time: 1553498069853
</amLogEntry>

<amLogEntry> 2019-03-25T07:14:30Z VERBOSE NIDS Application: AM#600105004: AMDEVICEID#41663BE3DB7DE15A: AMAUTHID#0536ba3548b2d0aba2590146d2baa7c631d0554ef22d22f96a2c7529185828dc: Obtained ip address of cluster member handling this users requests from HTTP cookie. Address: 192.168.128.30 </amLogEntry>

<amLogEntry> 2019-03-25T07:14:30Z VERBOSE NIDS Application: AM#600105002: AMDEVICEID#41663BE3DB7DE15A: AMAUTHID#0536ba3548b2d0aba2590146d2baa7c631d0554ef22d22f96a2c7529185828dc: Do not need to proxy HTTP request to other cluster member. This cluster member can handle requests for this user. </amLogEntry>

<amLogEntry> 2019-03-25T07:14:30Z DEBUG NIDS Application:
Method: NIDPJspFilter.doFilter
Thread: http-nio-192.168.128.30-8443-exec-5
JSP request did not need to be proxied to a different server! </amLogEntry>

<amLogEntry> 2019-03-25T07:14:30Z DEBUG NIDS Application:
Method: NIDPProxyableServlet.myDoGetWithProxy
Thread: http-nio-192.168.128.30-8443-exec-7
****** HttpServletRequest Information:
Method: GET
Scheme: https
Context Path: /nidp
Servlet Path: /app
Query String: sid=1&code=AQDK2p5rBgAvLdu26aeyg8jFbH05eZtHT6COPOCpb-yDWHn1jWdXlAFHanX8fUpD93n3fR0XdVFPLEsmys4B7vgXjMWeotGrJFRubATJcOOkWM6sxLQxhVBCQICzYVs9Qw5E2H-IFxfMxqxFfBvTnmqMGUIjpELooABQSYQ68uIYiNGKujYLUmEJ76Umhr4gclzkgUu-vcX1WIFNP9iixbNuhaE5huwGNEbrAsp4s56GgeZi091bD5vqTs1PxeiSuXZzJa61rn-KYIUuRnsV2jBEgYmsevqaW4VlqcC7ZVonsToij1PA-2cRycrumVcPByUXlYnsVuOJlEPWqKaoia_I&option=credential
Path Info: /login
Server Name: slogin.ouhk.edu.hk
Server Port: 443
Content Length: -1
Content Type: null
Auth Type: null
Request URL: https://slogin.ouhk.edu.hk/nidp/app/login
Host IP Address: 202.40.220.236
Remote Client IP Address: 192.168.128.1
Cookie: (0 of 2): UrnNovellNidpClusterMemberId, ~03~0Bslo~0A~0B~14oof~02~00~02
Unobfuscated: UrnNovellNidpClusterMemberId: 192.168.128.30
Cookie: (1 of 2): JSESSIONID, 0536ba3548b2d0aba2590146d2baa7c631d0554ef22d22f96a2c7529185828dc
Header: Name: host, Value: slogin.ouhk.edu.hk
Header: Name: connection, Value: keep-alive
Header: Name: upgrade-insecure-requests, Value: 1
Header: Name: user-agent, Value: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.109 Safari/537.36
Header: Name: accept, Value: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8
Header: Name: referer, Value: https://slogin.ouhk.edu.hk/nidp/app/login?sid=1&code=AQCElbncEYV-S0_tu1qjHl8JQhxVDxFJN2D9OfE5hBzwKv4B44ODcj2Z_CbxVOA7fuOR0J34mvmrKQR5a5MGLQxsiRwbFbBILeiWtYcCNr6q2nZT3aheuSX6LDL65pGa1LyEHhSSdBtcfljs9L8LIILJ0kOVDaXpIbnSHFsGMaKv_-1VGbUAC5us5vjveqlMHgOAWBvqC2FDORJKHWaciTtTVrxVWsDc1ldRI6ZmP0KdbStTK_UIl0IVY5jACjrvNS5yVVLFm4Yyed3jvYb2WJ7r3YifDcvNJZon7mXDeqIaoQL5iUwdKZFZBbkewugzn8d4le1Jl0szmRhEmDku8zPC&option=credential
Header: Name: accept-encoding, Value: gzip, deflate, br
Header: Name: accept-language, Value: en-US,en;q=0.9
Header: Name: x-forwarded-for, Value: 202.129.166.106
Session Id: 0536ba3548b2d0aba2590146d2baa7c631d0554ef22d22f96a2c7529185828dc
Session Last Accessed Time: 1553498070497
</amLogEntry>

<amLogEntry> 2019-03-25T07:14:30Z VERBOSE NIDS Application: AM#600105004: AMDEVICEID#41663BE3DB7DE15A: AMAUTHID#0536ba3548b2d0aba2590146d2baa7c631d0554ef22d22f96a2c7529185828dc: Obtained ip address of cluster member handling this users requests from HTTP cookie. Address: 192.168.128.30 </amLogEntry>

<amLogEntry> 2019-03-25T07:14:30Z VERBOSE NIDS Application: AM#600105002: AMDEVICEID#41663BE3DB7DE15A: AMAUTHID#0536ba3548b2d0aba2590146d2baa7c631d0554ef22d22f96a2c7529185828dc: Do not need to proxy HTTP request to other cluster member. This cluster member can handle requests for this user. </amLogEntry>

<amLogEntry> 2019-03-25T07:14:30Z DEBUG NIDS Application:
Method: CacheMap.A
Thread: http-nio-192.168.128.30-8443-exec-7

Retrieval of object com.novell.nidp.servlets.NIDPServletSession@296b6dda from cache session succeeded using key 0536ba3548b2d0aba2590146d2baa7c631d0554ef22d22f96a2c7529185828dc. Cache size is 4
</amLogEntry>

<amLogEntry> 2019-03-25T07:14:30Z DEBUG NIDS Application:
Method: CacheMap.A
Thread: http-nio-192.168.128.30-8443-exec-7

Retrieval of object com.novell.nidp.servlets.NIDPServletSession@296b6dda from cache session succeeded using key 0536ba3548b2d0aba2590146d2baa7c631d0554ef22d22f96a2c7529185828dc. Cache size is 4
</amLogEntry>

<amLogEntry> 2019-03-25T07:14:30Z VERBOSE NIDS Application: Session has consumed authentications: false </amLogEntry>

<amLogEntry> 2019-03-25T07:14:30Z DEBUG NIDS Application:
Method: CacheMap.A
Thread: http-nio-192.168.128.30-8443-exec-7

Retrieval of object com.novell.nidp.servlets.NIDPServletSession@296b6dda from cache session succeeded using key 0536ba3548b2d0aba2590146d2baa7c631d0554ef22d22f96a2c7529185828dc. Cache size is 4
</amLogEntry>

<amLogEntry> 2019-03-25T07:14:30Z DEBUG NIDS Application:
Method: CommonHandler.handleRequest
Thread: http-nio-192.168.128.30-8443-exec-7
Handling request: login </amLogEntry>

<amLogEntry> 2019-03-25T07:14:30Z VERBOSE NIDS Application: Session has consumed authentications: false </amLogEntry>

<amLogEntry> 2019-03-25T07:14:30Z INFO NIDS Application: AM#500105015: AMDEVICEID#41663BE3DB7DE15A: AMAUTHID#0536ba3548b2d0aba2590146d2baa7c631d0554ef22d22f96a2c7529185828dc: Processing login request with TARGET = , saved TARGET = . </amLogEntry>

<amLogEntry> 2019-03-25T07:14:30Z INFO NIDS Application: AM#500105009: AMDEVICEID#41663BE3DB7DE15A: AMAUTHID#0536ba3548b2d0aba2590146d2baa7c631d0554ef22d22f96a2c7529185828dc: Executing contract facebook. </amLogEntry>

<amLogEntry> 2019-03-25T07:14:30Z VERBOSE NIDS Application: Session has consumed authentications: false </amLogEntry>

<amLogEntry> 2019-03-25T07:14:30Z VERBOSE NIDS Application: Session has consumed authentications: false </amLogEntry>

<amLogEntry> 2019-03-25T07:14:30Z VERBOSE NIDS Application: Session has consumed authentications: false </amLogEntry>

<amLogEntry> 2019-03-25T07:14:30Z VERBOSE NIDS Application: Executing authentication method facebook </amLogEntry>

<amLogEntry> 2019-03-25T07:14:30Z DEBUG NIDS Application:
Method: SocialAuthClass.N
Thread: http-nio-192.168.128.30-8443-exec-7
Recieved blob from Server null </amLogEntry>

<amLogEntry> 2019-03-25T07:14:30Z DEBUG NIDS Application:
Method: SocialAuthClass.N
Thread: http-nio-192.168.128.30-8443-exec-7
Auto Provision State: Process Social Auth
Request Parameter "socialauth_return": true
Request Parameter "authid": null
</amLogEntry>

Mar 25, 2019 3:14:30 PM org.brickred.socialauth.SocialAuthManager connect
INFO: Connecting provider : facebook
Mar 25, 2019 3:14:30 PM org.brickred.socialauth.provider.FacebookImpl doVerifyResponse
INFO: Retrieving Access Token in verify response function
Mar 25, 2019 3:14:30 PM org.brickred.socialauth.oauthstrategy.OAuth2 verifyResponse
INFO: Verifying the authentication response from provider
<amLogEntry> 2019-03-25T07:14:41Z DEBUG NIDS Application:
Method: FailoverCache.finalize
Thread: Finalizer
Tearing down FailoverCache because finalizer was called! Instance: com.novell.nidp.common.failover.FailoverCache@21ffa0a1 </amLogEntry>

<amLogEntry> 2019-03-25T07:14:41Z DEBUG NIDS Application:
Method: FailoverCache.finalize
Thread: Finalizer
Warning: Finalizing a FailoverCache that has non-null data members that SHOULD have been torn down previously!! </amLogEntry>

<amLogEntry> 2019-03-25T07:14:41Z DEBUG NIDS Application:
Method: JNDILogEventListener.accept
Thread: Finalizer
Garbage Collected JNDIUserStoreReplicaConnectionPool: JNDIShutdown-MGb821cf28-e548-4b7d-8d6d-4a939d3c9314:SH20871e3c-9c87-48b5-be66-68d575153132:PL754573ab-4434-42fb-98aa-696bdb58acbc:452f1cf9-0558-465b-9ba7-4414968a346f </amLogEntry>

<amLogEntry> 2019-03-25T07:14:41Z DEBUG NIDS Application:
Method: JNDILogEventListener.accept
Thread: Finalizer
Garbage Collected JNDIUserStoreReplica: JNDIShutdown-MGb821cf28-e548-4b7d-8d6d-4a939d3c9314:SH20871e3c-9c87-48b5-be66-68d575153132:452f1cf9-0558-465b-9ba7-4414968a346f </amLogEntry>

<amLogEntry> 2019-03-25T07:14:41Z DEBUG NIDS Application:
Method: JNDILogEventListener.accept
Thread: Finalizer
Garbage Collected JNDIUserStoreReplicaConnectionPool: JNDIShutdown-MGb821cf28-e548-4b7d-8d6d-4a939d3c9314:SH20871e3c-9c87-48b5-be66-68d575153132:PLc60089d8-0c8f-4b14-81e3-1d181c11fab5:8dcce9c0-e269-43c0-8848-aa2d35ea7f3d </amLogEntry>

<amLogEntry> 2019-03-25T07:14:41Z DEBUG NIDS Application:
Method: JNDILogEventListener.accept
Thread: Finalizer
Garbage Collected JNDIUserStoreReplica: JNDIShutdown-MGb821cf28-e548-4b7d-8d6d-4a939d3c9314:SH20871e3c-9c87-48b5-be66-68d575153132:8dcce9c0-e269-43c0-8848-aa2d35ea7f3d </amLogEntry>

<amLogEntry> 2019-03-25T07:14:41Z DEBUG NIDS Application:
Method: JNDILogEventListener.accept
Thread: Finalizer
Garbage Collected JNDIUserStoreReplicaConnectionPool: JNDIShutdown-MGb821cf28-e548-4b7d-8d6d-4a939d3c9314:SH20871e3c-9c87-48b5-be66-68d575153132:PL5844bd7b-0de5-41d4-86bd-5895fda70d1b:4ccb0467-eec3-4ebd-80ee-ca1e3cc82167 </amLogEntry>

<amLogEntry> 2019-03-25T07:14:41Z DEBUG NIDS Application:
Method: JNDILogEventListener.accept
Thread: Finalizer
Garbage Collected JNDIUserStoreReplica: JNDIShutdown-MGb821cf28-e548-4b7d-8d6d-4a939d3c9314:SH20871e3c-9c87-48b5-be66-68d575153132:4ccb0467-eec3-4ebd-80ee-ca1e3cc82167 </amLogEntry>

<amLogEntry> 2019-03-25T07:14:41Z DEBUG NIDS Application:
Method: JNDILogEventListener.accept
Thread: Finalizer
Garbage Collected JNDIUserStoreReplicaConnectionPool: JNDIShutdown-MGb821cf28-e548-4b7d-8d6d-4a939d3c9314:SH20871e3c-9c87-48b5-be66-68d575153132:PL64a19d6d-09d8-424c-bf81-2f843a2fcc03:f4c91297-6110-4710-989e-c6d780bdc616 </amLogEntry>

<amLogEntry> 2019-03-25T07:14:41Z DEBUG NIDS Application:
Method: JNDILogEventListener.accept
Thread: Finalizer
Garbage Collected JNDIUserStoreReplica: JNDIShutdown-MGb821cf28-e548-4b7d-8d6d-4a939d3c9314:SH20871e3c-9c87-48b5-be66-68d575153132:f4c91297-6110-4710-989e-c6d780bdc616 </amLogEntry>

<amLogEntry> 2019-03-25T07:14:41Z DEBUG NIDS Application:
Method: JNDILogEventListener.accept
Thread: Finalizer
Garbage Collected JNDIUserStore: JNDIShutdown-MGb821cf28-e548-4b7d-8d6d-4a939d3c9314:SH20871e3c-9c87-48b5-be66-68d575153132:USfa2d8085-de88-4c46-b9e0-0de4428144a8 </amLogEntry>

<amLogEntry> 2019-03-25T07:14:41Z DEBUG NIDS Application:
Method: JNDILogEventListener.accept
Thread: Finalizer
Garbage Collected JNDIUserStoreReplicaConnectionPool: JNDIShutdown-MGb821cf28-e548-4b7d-8d6d-4a939d3c9314:SH20871e3c-9c87-48b5-be66-68d575153132:PLc92371e9-3e06-45e8-a079-bca56c4aa3cf:1d4f5c34-e257-41e4-a897-93e06fb67da1 </amLogEntry>

<amLogEntry> 2019-03-25T07:14:41Z DEBUG NIDS Application:
Method: JNDILogEventListener.accept
Thread: Finalizer
Garbage Collected JNDIUserStoreReplica: JNDIShutdown-MGb821cf28-e548-4b7d-8d6d-4a939d3c9314:SH20871e3c-9c87-48b5-be66-68d575153132:1d4f5c34-e257-41e4-a897-93e06fb67da1 </amLogEntry>
0 Likes
Knowledge Partner Knowledge Partner
Knowledge Partner

Re: NAM4.4 Social Authentication with Facebook

On 25-03-2019 6:34 PM, kkyen wrote:
>


> Hi Edward, I have turned on Debug mode, but by looking at the current
> logs, I still don't have clue what is missing...


ok, in order to make sense out of this a fiddler trace would be good with decryption enabled. You might want to be careful with this sharing as it can
expose passwords! I'm wondering if there is an actual redirect to facebook or not.



--
Cheers,
Edward
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.