# \#save-users-to-db

**URL:** https://community.auth0.com/tag/save-users-to-db/648.md

[Latest](https://community.auth0.com/latest.md) · [Categories](https://community.auth0.com/categories.md) · [Tags](https://community.auth0.com/tags.md)

---

## [Using own database, how to get users into auth0's DB without logging in?](https://community.auth0.com/t/using-own-database-how-to-get-users-into-auth0s-db-without-logging-in/9474)

<div class="topic-metadata">

**Author:** [@torsten.luettgert](https://community.auth0.com/u/torsten.luettgert)\
**Replies:** 1\
**Last updated:** [December 17, 2018, 3:30pm UTC](https://community.auth0.com/t/using-own-database-how-to-get-users-into-auth0s-db-without-logging-in/9474 "2018-12-17T15:30:14Z")

</div>

Hi, we have (lots of) users in a custom DB. Some of those only ever log in via federation, and we need to link them to our own user profile. Problem is: the auth0 DB only has the federated identity. The profile from ou…

---

## [How to manage users and permissions in DB](https://community.auth0.com/t/how-to-manage-users-and-permissions-in-db/8740)

<div class="topic-metadata">

**Author:** [@abachuk](https://community.auth0.com/u/abachuk)\
**Replies:** 1\
**Last updated:** [November 14, 2017, 10:32pm UTC](https://community.auth0.com/t/how-to-manage-users-and-permissions-in-db/8740 "2017-11-14T22:32:27Z")

</div>

Following this guide, I can add API authorizer. How do I connect user object in DB with Auth0 user when a new user registers? How do I get user id from API gateway to know who is doing the request? How/where do I store…

---

## [\[SandboxUnhandledError\] db is not defined](https://community.auth0.com/t/sandboxunhandlederror-db-is-not-defined/8556)

<div class="topic-metadata">

**Author:** [@julienfumanti](https://community.auth0.com/u/julienfumanti)\
**Replies:** 1\
**Last updated:** [October 24, 2017, 6:37am UTC](https://community.auth0.com/t/sandboxunhandlederror-db-is-not-defined/8556 "2017-10-24T06:37:58Z")

</div>

Hi, I am trying to create a user from custom db (mongo db) → create user → try. But when I fill in user and pwd ; I have this error \[SandboxUnhandledError\] db is not defined With login it’s working. Could you please …
