# Ask the user for an email if it's not present in Facebook profile

**URL:** <https://community.auth0.com/t/ask-the-user-for-an-email-if-its-not-present-in-facebook-profile/30204>\
**Category:** Get Help\
**Tags:** facebook-login, social-connections\
**Created:** [September 2, 2019, 11:47am UTC](https://community.auth0.com/t/ask-the-user-for-an-email-if-its-not-present-in-facebook-profile/30204 "2019-09-02T11:47:29Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![yevhen.voroniuk](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/yevhen.voroniuk/32/15176_2.png) [@yevhen.voroniuk](https://community.auth0.com/u/yevhen.voroniuk)\
**Post date:** [September 2, 2019, 11:47am UTC](https://community.auth0.com/t/ask-the-user-for-an-email-if-its-not-present-in-facebook-profile/30204/1 "2019-09-02T11:47:31Z")

</div>

Hi, we have the next problem. Having **email** is essential for our application.  
We have the facebook social connection, with checkbox _Settings → User Data → Email_ is checked. So when users create auth0 account linked to facebook, the primary email is copied to auth0 profile, and this is OK.

The issue happens, when facebook account doesn’t have email, i.e. when it linked to a phone number.  
In this case, auth0 account is created with _“email\_verified”: true_, but actually, without _email_.  
For us, such account is broken, we can’t live without email. So we have added the rule, which forbids to login if email is not present.  
But for us will be much better, that instead of such a rule, to prompt the user to enter email, and then verify it by auth0. Is it possible to achieve such a behaviour?

(maybe it somehow related to [Auth0 facebook login email issue](http://community.auth0.com/t/auth0-facebook-login-email-issue/19411))

---

<div class="post-metadata">

**Author:** ![mathiasconradt](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/mathiasconradt/32/12758_2.png) [@mathiasconradt](https://community.auth0.com/u/mathiasconradt)\
**Post date:** [September 3, 2019, 7:08am UTC](https://community.auth0.com/t/ask-the-user-for-an-email-if-its-not-present-in-facebook-profile/30204/2 "2019-09-03T07:08:13Z")

</div>

The **Progressive Profiling** approach would be the way to go (initiated from a Rule, as shown in the docs), see:

> **[Understand How Progressive Profiling Works](https://auth0.com/docs/manage-users/user-accounts/user-profiles/progressive-profiling)**
>
> Understand how progressive profiling can gather information about users over time as they engage with your website or application.

The dialog that asks the user for the email address would be a custom one hosted on your end (not something Auth0 provides out of the box), where the Rule redirects to, which then returns back to the Auth0 authentication flow once the user has entered his email.

---

<div class="post-metadata">

**Author:** ![yevhen.voroniuk](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/yevhen.voroniuk/32/15176_2.png) [@yevhen.voroniuk](https://community.auth0.com/u/yevhen.voroniuk)\
**Post date:** [September 3, 2019, 8:09am UTC](https://community.auth0.com/t/ask-the-user-for-an-email-if-its-not-present-in-facebook-profile/30204/3 "2019-09-03T08:09:21Z")

</div>

It’s a pity. Because in db connection auth0 already has functionality to ask and verify email. In this case it looks very similar, but we should reinvent the wheel and do the same on our side, it’s strange…

---

<div class="post-metadata">

**Author:** ![dawid.matuszczyk](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dawid.matuszczyk/32/74550_2.png) [@dawid.matuszczyk](https://community.auth0.com/u/dawid.matuszczyk)\
**Post date:** [May 14, 2024, 2:07pm UTC](https://community.auth0.com/t/ask-the-user-for-an-email-if-its-not-present-in-facebook-profile/30204/4 "2024-05-14T14:07:55Z")

</div>

Hey team!

This topic seems related to our new EA feature, Forms for Actions, which rolled out of the beta stage on May 7th. Our Product team prepared the whole Documentation page with examples of Use cases. [Forms for Actions](https://auth0.com/docs/customize/forms). If you find yourself having questions regarding this new feature for the next two weeks, we are hosting an [Ask Me Anything session](https://community.auth0.com/t/auth0-community-ask-me-anything-customize-and-extend-ciam-with-new-forms-for-actions/133516). Our Product Expert will provide comprehensive written answers on May 21st from 8 AM to 10 AM PST.  
Find out more about [Forms for Actions](https://auth0.com/docs/customize/forms) and [learn more about AMA](https://community.auth0.com/t/auth0-community-ask-me-anything-customize-and-extend-ciam-with-new-forms-for-actions/133516).

Thanks!  
Dawid
