Skip to content
This repository was archived by the owner on Nov 19, 2021. It is now read-only.

Latest commit

 

History

22 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

migrate-permanent-fusionauth

TypeScript GPLv3 license No Maintenance Intended

This is a one-off ETL script for migrating user credentials from the Permanent.org application database to FusionAuth, an authentication vendor.

It connects directly to the Permanent MySQL database, and knows the relevant parts of the database schema at the time it was written.

After extracting the data, it transforms it into the FusionAuth user import schema. This includes spliting the bcrypt hash into the fields FusionAuth expects, as the FusionAuth user import endpoint cannot parse bcrypt hash strings.

Finally, it loads the data into FusionAuth using their bulk user import API.

Usage

Copy .env.template to .env, set the values, and run npm run start.

About

ETL script to transfer user credentials from Permanent to FusionAuth

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages