# I've successfully connected auth0 to my database using "custom database", Whats the next step?

**URL:** <https://community.auth0.com/t/ive-successfully-connected-auth0-to-my-database-using-custom-database-whats-the-next-step/19901>\
**Category:** Get Help\
**Tags:** identity, custom-database, auth0\
**Created:** [January 11, 2019, 5:05pm UTC](https://community.auth0.com/t/ive-successfully-connected-auth0-to-my-database-using-custom-database-whats-the-next-step/19901 "2019-01-11T17:05:02Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![cvasquez0100](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/cvasquez0100/32/10339_2.png) [@cvasquez0100](https://community.auth0.com/u/cvasquez0100)\
**Post date:** [January 11, 2019, 5:05pm UTC](https://community.auth0.com/t/ive-successfully-connected-auth0-to-my-database-using-custom-database-whats-the-next-step/19901/1 "2019-01-11T17:05:02Z")

</div>

I’ve successfully connected auth0 to my database using “custom database”, get user script and login script both are working.

---

<div class="post-metadata">

**Author:** ![jerdog](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jerdog/32/11231_2.png) [@jerdog](https://community.auth0.com/u/jerdog)\
**Post date:** [January 11, 2019, 5:56pm UTC](https://community.auth0.com/t/ive-successfully-connected-auth0-to-my-database-using-custom-database-whats-the-next-step/19901/2 "2019-01-11T17:56:16Z")

</div>

Great job! For next steps, are you following a specific tutorial? What are you trying to achieve, or what’s your use case?

---

<div class="post-metadata">

**Author:** ![cvasquez0100](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/cvasquez0100/32/10339_2.png) [@cvasquez0100](https://community.auth0.com/u/cvasquez0100)\
**Post date:** [January 11, 2019, 6:54pm UTC](https://community.auth0.com/t/ive-successfully-connected-auth0-to-my-database-using-custom-database-whats-the-next-step/19901/3 "2019-01-11T18:54:11Z")

</div>

Well I was following the custom database tutorial. I’m trying to set it up so I can use mysql database. Correct me if i’m wrong, But the way I’m trying to set up my app is using auth0 to sign in with custom sign up fields, once log in will that data go to mysql database?

---

<div class="post-metadata">

**Author:** ![James.Morrison](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/james.morrison/32/13507_2.png) [@James.Morrison](https://community.auth0.com/u/James.Morrison)\
**Post date:** [January 14, 2019, 2:18pm UTC](https://community.auth0.com/t/ive-successfully-connected-auth0-to-my-database-using-custom-database-whats-the-next-step/19901/6 "2019-01-14T14:18:21Z")

</div>

@cvasquez0100 that’s correct in a username/password situation. However it’s important to note that if your users are leveraging social identity providers you provide then likely you will not be able to retrieve the same dataset as discussed in the doc below. Please let me know if you have any additional questions. Thanks!

> **[Custom Signup](https://auth0.com/docs/libraries/custom-signup)**
>
> How to customize the user signup form with additional fields using Lock or the Auth0 API.

---

<div class="post-metadata">

**Author:** ![cvasquez0100](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/cvasquez0100/32/10339_2.png) [@cvasquez0100](https://community.auth0.com/u/cvasquez0100)\
**Post date:** [January 14, 2019, 2:57pm UTC](https://community.auth0.com/t/ive-successfully-connected-auth0-to-my-database-using-custom-database-whats-the-next-step/19901/8 "2019-01-14T14:57:39Z")

</div>

We won’t be using other social identity providers, But we will have a custom sign up page, So what would be the best tutorial in my situation that you recommend?. If I can also ask, What was the purpose of me working on the custom database feature? I would think that would be all since you have 2 scripts “login” and “get users”?

---

<div class="post-metadata">

**Author:** ![cvasquez0100](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/cvasquez0100/32/10339_2.png) [@cvasquez0100](https://community.auth0.com/u/cvasquez0100)\
**Post date:** [January 15, 2019, 4:47pm UTC](https://community.auth0.com/t/ive-successfully-connected-auth0-to-my-database-using-custom-database-whats-the-next-step/19901/9 "2019-01-15T16:47:08Z")

</div>

Nevermind, i’ve solved my issue.

---

<div class="post-metadata">

**Author:** ![James.Morrison](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/james.morrison/32/13507_2.png) [@James.Morrison](https://community.auth0.com/u/James.Morrison)\
**Post date:** [January 15, 2019, 6:28pm UTC](https://community.auth0.com/t/ive-successfully-connected-auth0-to-my-database-using-custom-database-whats-the-next-step/19901/10 "2019-01-15T18:28:54Z")

</div>

I’m glad to hear you got everything handled @cvasquez0100! Please let us know if we can be of any help in the future 👍

---

<div class="post-metadata">

**Author:** ![cvasquez0100](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/cvasquez0100/32/10339_2.png) [@cvasquez0100](https://community.auth0.com/u/cvasquez0100)\
**Post date:** [January 15, 2019, 6:57pm UTC](https://community.auth0.com/t/ive-successfully-connected-auth0-to-my-database-using-custom-database-whats-the-next-step/19901/11 "2019-01-15T18:57:30Z")

</div>

Well now theirs just one issue. I have a custom sign up, meaning my app requires more than an email and password, it requires 4 extra fields. When I sign up with my user the extra fields don’t go to my database only email and password do.

---

<div class="post-metadata">

**Author:** ![James.Morrison](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/james.morrison/32/13507_2.png) [@James.Morrison](https://community.auth0.com/u/James.Morrison)\
**Post date:** [January 18, 2019, 2:25pm UTC](https://community.auth0.com/t/ive-successfully-connected-auth0-to-my-database-using-custom-database-whats-the-next-step/19901/12 "2019-01-18T14:25:50Z")

</div>

When you sign up with a user are doing the email/password option or are you leveraging social sign up and not seeing the data come across?

The email/password option leads heavily with the doc I referenced for [Custom Signup](https://auth0.com/docs/libraries/custom-signup).

For social signups we can get additional information after the users sign up, there’s two ways right now 1) [redirecting to another page](https://auth0.com/docs/libraries/custom-signup#redirect-to-another-page) where we use [redirect rules](https://auth0.com/docs/rules/redirect) to redirect the user to another page where you ask for extra information, and then redirect back to finish the authentication transaction. And this will be placed in our `user_metadata` 2) [Progressive profiling](https://auth0.com/docs/libraries/custom-signup#progressive-profiling)

However after referencing these docs and you still find it should be working accordingly then the next step would be to send of a HAR file of the login flow that isn’t transmitting the custom fields you want to have come across. If you could pair this with the tenant name and send it over in a DM I’ll be happy to take a look. Thanks!

---

<div class="post-metadata">

**Author:** ![cvasquez0100](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/cvasquez0100/32/10339_2.png) [@cvasquez0100](https://community.auth0.com/u/cvasquez0100)\
**Post date:** [January 30, 2019, 9:12pm UTC](https://community.auth0.com/t/ive-successfully-connected-auth0-to-my-database-using-custom-database-whats-the-next-step/19901/13 "2019-01-30T21:12:28Z")

</div>

Appreciate the help, but my problem has been solved! thanks

---

<div class="post-metadata">

**Author:** ![James.Morrison](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/james.morrison/32/13507_2.png) [@James.Morrison](https://community.auth0.com/u/James.Morrison)\
**Post date:** [January 30, 2019, 10:05pm UTC](https://community.auth0.com/t/ive-successfully-connected-auth0-to-my-database-using-custom-database-whats-the-next-step/19901/14 "2019-01-30T22:05:48Z")

</div>

I’m glad to hear it all came together!

---

<div class="post-metadata">

**Author:** ![James.Morrison](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/james.morrison/32/13507_2.png) [@James.Morrison](https://community.auth0.com/u/James.Morrison)\
**Post date:** [February 14, 2019, 2:06am UTC](https://community.auth0.com/t/ive-successfully-connected-auth0-to-my-database-using-custom-database-whats-the-next-step/19901/15 "2019-02-14T02:06:16Z")

</div>

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