authgear / authgear/authgear-server

Login with Facebook may not include email attributes

Open
#2,711 0 comments 0 reactions 0 assignees View on GitHub
bug/minor
Dominant language
Go
Stars
2k
Forks
125
Avg merge
2d 17h
Merged PRs (30d)
32

Description

## Problem

Email attribute is not compulsory when login with Facebook. Coz a user can sign up for a Facebook account using only their Phone number.

![image](https://user-images.githubusercontent.com/15207470/205883995-f99c1f47-6ef3-4e97-9dd5-7b4912bd36d8.png)

![image](https://user-images.githubusercontent.com/15207470/205888318-4dac4129-17ef-42aa-984f-9428bec8f1fc.png)

Currently when the enduser login with a FB account without email address, it's showing an unhelpful error message telling the end-user to ask the admin to make email optional in Authgear portal.

However such option is not available. It's implicitly compulsory.

Similar to GitHub, we should allow the admin to make email optional.

Contributor guide

Open the contributing guide

Research direction

No files, tests, or entry points are identified in the issue. Start by locating Facebook login handling and the error about making email optional, then trace the Authgear portal configuration; done means administrators can make email optional for Facebook login and users without an email receive a supported login flow rather than the misleading error.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
authentication
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.