G'day everyone!GoogleConntectionFactory無法創建連接
我有錯誤是這樣的:
WARN/DefaultRequestDirector(22739): Authentication error: Unable to respond to any of
these challenges: {authsub=WWW-Authenticate: AuthSub
realm="https://www.google.com/accounts/AuthSubRequest" allowed-
scopes="https://www.googleapis.com/auth/userinfo.email,
https://www.googleapis.com/auth/userinfo.profile,
https://www.googleapis.com/auth/userinfo.id"}
這是happend當我想要得到的連接:
AccessGrant accessGrant = new AccessGrant(accessToken);
Connection<Google> connection = connectionFactory.createConnection(accessGrant);
其結果是,我趕上例外,因爲驗證401
沒任何一個這個問題都要歸功於?
我想這是因爲DefaultRequestDirector的happend在要求範圍上的鑰匙不能迴應... – Rusfearuth 2012-07-30 02:29:41