Migration from passwordless to database connection

We want to migrate from passwordless to database(provided by Auth0) connection.

We are using auth0.js on frontend.

It is important that we keep old user_id’s because other service is using them to identify customers -
for now user_id’s are email | xyz but new users can have user_id’s as auth0 | xyz or anything else.

Could you propose the best way to solve it?

Cześć Wojtek!

Let me double-check that process and get back to you soon with the information on how to achieve that!

Sorry for such delay in response but November and December seem pretty busy for us!

I discussed it with my colleague and it seems like it will be doable using custom database connection: