Project

General

Profile

Bug #5539

Oauth login with facebook api 2.8

Added by Alex Ignatov almost 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
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.

#1

Updated by André Jacobs almost 6 years ago

  • Status changed from New to Implemented @Emweb
#2

Updated by André Jacobs almost 6 years ago

  • Assignee set to André Jacobs
#3

Updated by Roel Standaert almost 6 years ago

  • Status changed from Implemented @Emweb to Resolved
#4

Updated by Roel Standaert over 5 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF