From ce038f5d1531107a1e45fd867de42e82940babdb Mon Sep 17 00:00:00 2001 From: Romain Derie Date: Tue, 5 Dec 2017 13:29:06 +0100 Subject: [PATCH] [FIX] auth_oauth: correctly retrieve user facebook email Before this commit, you could never get the user's facebook email. Since there was no email field on facebook response, email would be then set to an auto generated value like 'provider_2_user_0123456789123456' by odoo. Now, we correctly request user's email to facebook. opw-782771 --- addons/auth_oauth/auth_oauth_data.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/auth_oauth/auth_oauth_data.xml b/addons/auth_oauth/auth_oauth_data.xml index 3b71b56be1f..7fc4633cc0a 100644 --- a/addons/auth_oauth/auth_oauth_data.xml +++ b/addons/auth_oauth/auth_oauth_data.xml @@ -16,7 +16,7 @@ https://www.facebook.com/dialog/oauth public_profile,email https://graph.facebook.com/me - + https://graph.facebook.com/me?fields=id,name,email fa fa-facebook-square Log in with facebook