# Why does the \`/dbconnections/signup\` Endpoint requires a password?

**URL:** <https://community.auth0.com/t/why-does-the-dbconnections-signup-endpoint-requires-a-password/97154>\
**Category:** Get Help\
**Tags:** custom-database-connections, connections\
**Created:** [December 28, 2022, 5:40pm UTC](https://community.auth0.com/t/why-does-the-dbconnections-signup-endpoint-requires-a-password/97154 "2022-12-28T17:40:10Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![a.saad](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/a.saad/32/36224_2.png) [@a.saad](https://community.auth0.com/u/a.saad)\
**Post date:** [December 28, 2022, 5:40pm UTC](https://community.auth0.com/t/why-does-the-dbconnections-signup-endpoint-requires-a-password/97154/1 "2022-12-28T17:40:10Z")

</div>

I am trying to set up Facebook signup and login but the `/dbconnections/signup` keeps asking for a password. is there a reason for this? can I disable it? and should I or is it a security risk?

---

<div class="post-metadata">

**Author:** ![SaqibHussain](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/saqibhussain/32/42924_2.png) [@SaqibHussain](https://community.auth0.com/u/SaqibHussain)\
**Post date:** [December 28, 2022, 10:33pm UTC](https://community.auth0.com/t/why-does-the-dbconnections-signup-endpoint-requires-a-password/97154/2 "2022-12-28T22:33:48Z")

</div>

Hi @a.saad

Thanks for getting in touch with us at Auth0 Community.

The `dbconnections/signup` endpoint only works for database connections, please see here [https://auth0.com/docs/api/authentication#signup](https://auth0.com/docs/api/authentication#signup)

For Facebook signup and login you need to configure a Facebook [social connection](https://marketplace.auth0.com/features/social-connections?_gl=1*l7sx0g*rollup_ga*NjIzMzMyNTg0LjE2NzE3OTcxMDE.*rollup_ga_F1G3E656YZ*MTY3MjI2NTA3OS4yNi4xLjE2NzIyNjYyMTkuOS4wLjA.&_ga=2.249022084.2088152408.1672042919-623332584.1671797101)

Warm regards.

---

<div class="post-metadata">

**Author:** ![a.saad](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/a.saad/32/36224_2.png) [@a.saad](https://community.auth0.com/u/a.saad)\
**Post date:** [December 29, 2022, 11:09am UTC](https://community.auth0.com/t/why-does-the-dbconnections-signup-endpoint-requires-a-password/97154/3 "2022-12-29T11:09:02Z")

</div>

I have Facebook set up for social connection already. but wanted to save the facebook user’s signup info in the auth0 database.

---

<div class="post-metadata">

**Author:** ![a.saad](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/a.saad/32/36224_2.png) [@a.saad](https://community.auth0.com/u/a.saad)\
**Post date:** [December 29, 2022, 11:11am UTC](https://community.auth0.com/t/why-does-the-dbconnections-signup-endpoint-requires-a-password/97154/4 "2022-12-29T11:11:19Z")

</div>

So that I can check if this is a returning user, or a new user.

---

<div class="post-metadata">

**Author:** ![SaqibHussain](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/saqibhussain/32/42924_2.png) [@SaqibHussain](https://community.auth0.com/u/SaqibHussain)\
**Post date:** [December 29, 2022, 11:18am UTC](https://community.auth0.com/t/why-does-the-dbconnections-signup-endpoint-requires-a-password/97154/5 "2022-12-29T11:18:58Z")

</div>

Hi @a.saad  
Thanks for coming back to us. Instead of creating a new account for the same user, perhaps just save the sign up info you need against the same user account in the user’s metadata [https://auth0.com/docs/manage-users/user-accounts/metadata/manage-metadata-api](https://auth0.com/docs/manage-users/user-accounts/metadata/manage-metadata-api)

Warm regards.

---

<div class="post-metadata">

**Author:** ![a.saad](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/a.saad/32/36224_2.png) [@a.saad](https://community.auth0.com/u/a.saad)\
**Post date:** [January 1, 2023, 2:35pm UTC](https://community.auth0.com/t/why-does-the-dbconnections-signup-endpoint-requires-a-password/97154/6 "2023-01-01T14:35:36Z")

</div>

hey saqib, not sure if you read my question correctly. I never said that i want to create a new account for the same user.

I want the user to be able to sign up and log in to my application using facebook.  
Now, don’t I need to save the log in information in the auth0 connection database so that i know if its a returning user? or is there a different way?

---

<div class="post-metadata">

**Author:** ![a.saad](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/a.saad/32/36224_2.png) [@a.saad](https://community.auth0.com/u/a.saad)\
**Post date:** [January 2, 2023, 11:24am UTC](https://community.auth0.com/t/why-does-the-dbconnections-signup-endpoint-requires-a-password/97154/7 "2023-01-02T11:24:53Z")

</div>

if possible, please link me a doc link if this has been answered elsewhere.

---

<div class="post-metadata">

**Author:** ![SaqibHussain](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/saqibhussain/32/42924_2.png) [@SaqibHussain](https://community.auth0.com/u/SaqibHussain)\
**Post date:** [January 24, 2023, 5:23pm UTC](https://community.auth0.com/t/why-does-the-dbconnections-signup-endpoint-requires-a-password/97154/8 "2023-01-24T17:23:38Z")

</div>

Hi @a.saad

If you need to know if the facebook user is a returning user, then perhaps you could store the information in the metadata against the user account in Auth0. You could have a boolean flag called ReturningUser that is false on initial login but set to true on subsequent logins or some similar logic. This way you know if the flag is true then it is a returning user. This can be setup using a [Post Login Action](https://auth0.com/docs/customize/actions/flows-and-triggers/login-flow).

The link I provided before can help you set something like this up, also [https://auth0.com/docs/manage-users/user-accounts/metadata/manage-user-metadata](https://auth0.com/docs/manage-users/user-accounts/metadata/manage-user-metadata)

Warm regards

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [February 7, 2023, 5:24pm UTC](https://community.auth0.com/t/why-does-the-dbconnections-signup-endpoint-requires-a-password/97154/9 "2023-02-07T17:24:01Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
