Importing Users into FusionAuth over Time

mooreds1 pts0 comments

Importing users over time | FusionAuth Forum

Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode .

Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).

Importing users over time

Scheduled

Pinned

Locked

Moved

Solved

Q&A

migration

passwords

hashed password

hashes

2.1k

Loading More Posts

Oldest to Newest

Newest to Oldest

Most Votes

Reply

Reply as topic

Log in to reply

This topic has been deleted. Only users with topic management privileges can see it.

dan

last edited by

I have a large number of users. I want to import them into FusionAuth with their password hashes and the accompanying data like the factor.

But my cutover is going to be slow, so I expect some percentage of people to change their password hashes after the import.

So I'd like synchronize any password hashes that changed in the meantime, and then roll out FusionAuth.

I can't re-import password hashes for an existing user, and the User API doesn't let me update passwords hashes, per this closed issue: https://github.com/FusionAuth/fusionauth-issues/issues/348

What would you recommend?

FusionAuth - Identity Without Constraints

https://fusionauth.io

1 Reply<br>Last reply

Reply<br>Quote

dan

@dan

last edited by

I think the way I'd approach this is:

import all users into FusionAuth

At cutover time:

look at local database to see which password hashes had changed

pull the user data from FusionAuth for each of these users

delete the user

re-import the user with the new password hash and the FusionAuth data, maintaining the same userId (if you provide the UUID, we'll use that)

I get that is an additional complexity, but hopefully that helps.

FusionAuth - Identity Without Constraints

https://fusionauth.io

1 Reply<br>Last reply

Reply<br>Quote

D dan has marked this topic as solved on

First post

Last post

Go to my next post

Looks like your connection to FusionAuth Forum was lost, please wait while we try to reconnect.

fusionauth reply users password hashes last

Related Articles