In a custom database connection’s login script, with auto migration activated, I find it somewhat unclear what should be returned to callback.
I’ve read the docs here:
But should the “identities” array be returned from the login function? Or should it only fill the topmost “user_id” attribute?
Some of our old users have a non-email user name. And there are some cases with multiple users having the same e-mail address registered. How will that work with Auth0 and migration? (Single Sign On). We may be able to remove the e-mail duplication but it would require some work.
I assume such custom attributes can be returned on sign-on, but have yet to look into it. Hints welcome.