Auth0 Home Blog Docs

Using own database, how to get users into auth0's DB without logging in?



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 our DB WOULD exist if the user (only once) logged in locally, without federation, but many don’t, unfortunately.

Now, it’s a bit silly: I cannot POST the local user (create him), since he already exists (our DB is queried). I also cannot PATCH, GET or link him, since he doesn’t exist (404 not found).

Is there any way to trigger the caching in the auth0 DB without having the user log in without federation?

Thanks for any help,