Actions
Bug #5539
closedOauth login with facebook api 2.8
Start date:
02/04/2017
Due date:
% Done:
0%
Estimated time:
Description
I'm using wt-3.3.6 on ubuntu 16.04 server. Trying to use standard facebook oauth functionality resulted in Wt::Json::TypeException. It turned out that Wt's FacebookService uses the following request url - https://graph.facebook.com/me?access_token=xxx In this case the returned response contains only user's name and id parameters. At the same time FacebookService class requires email parameter, otherwise the exception is thrown. A quick workaround is to replace the request url by https://graph.facebook.com/me?fields=name,id,email&access_token=xxx
to explicitly ask facebook to provide required parameters.
Updated by André Jacobs almost 8 years ago
- Status changed from New to Implemented @Emweb
Updated by Roel Standaert almost 8 years ago
- Status changed from Implemented @Emweb to Resolved
Updated by Roel Standaert over 7 years ago
- Status changed from Resolved to Closed
Actions