Auth0 Home Blog Docs

Import users, send activation, and have user set pwd

users
user-import
csv

#1

I added the user import/export extension and discovered that I can only import .json files. I converted my .csv to .json and successfully imported a new user. However, I am trying to determine how I can auto-send the account activation email to the new user and then force them to set their password. I would also ideally like to be able to set the group the user is a member of as well at the time of import.

  • Import user(s).
  • Send activation email.
  • User activates account and sets password.
  • User is directed to a URL where they are logged in.
  • App at URL reads account profile and performs logic from there.

It seems I can get part way with Auth0, but not completely through this process. What am I missing?

Also, I can’t seem to export users using the same Export plugin. What gives?

Thanks for any help you can provide.


#2

:wave: @jbd4jc

We may be able to trigger the password reset programmatically, but it’ll depend how many users you will be importing at a time. Depending on the volume of users this may not be recommended and you would likely be rate limited or blocked for attempting to send an excessive amount of emails in one go.

Where are you having issues exporting users using the Export plugin?