Authentification fails, because email adress can't requested, but email permission is granted

Created on 24 October 2021, about 3 years ago
Updated 3 May 2023, over 1 year ago

Problem/Motivation

I'm using Drupal 8.9.19 and version 3.0 (not the dev version) of this module.
My users can't login via Facebook, because email can't requested from FB. Module error message tells me, that the website needs the permission to read the email address of the user from Graph API. The FB-app has granted the "advanced" permissions for "email" and "public_profile" in the app review.

Steps to reproduce

  1. Use "facebook login" product within your facebook app. We use Graph API Version 10.0
  2. Make sure that email and public_profile permission have advanced access permission granted (goes without additional app review by facebook)
  3. Create a new facebook test user and log in with the test user at facebook website
  4. Open in a new browser tab your Drupal site and try to log in with the facebook test user via facebook login
  5. Make sure that test user grants email and public_profile permission when the facebook app asks for.
  6. Drupal throws a message like "Authentication via Facebook failed. This website requires permission to retrieve your email address.". Login/authentification is not possible.
πŸ› Bug report
Status

Closed: outdated

Version

3.0

Component

Code

Created by

πŸ‡©πŸ‡ͺGermany dercheffe Sersheim, Germany

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024