This laravel-auth0-migrator
package helps out with the migration of a standard laravel setup.
Basically this packages get the needed API tokens as input.
Does a bulk user import to the new auth0 database via some guzzle requests.
After the migration is verified and done the package could be removed and is not needed furthermore and can be removed.
Via Composer
$ composer require kuhdo/laravel-auth0-migrator
In most cases it makes sense to read the documentation at auth0´s side. You should take a look into the laravel tutorial.
Follow the steps of auth0 here. Explicitly you'll the API tokens for the auth0 database to be filled with the existing local laravel users.
You need the following env vars:
AUTH0_DOMAIN=
AUTH0_CLIENT_ID=
AUTH0_CLIENT_SECRET=
AUTH0_AUDIENCE=
Optional:
ORGANIZATION_ID=
https://auth0.com/docs/manage-users/user-migration/bulk-user-imports
Please see the changelog for more information on what has changed recently.
$ composer test
Please see contributing.md for details and a todolist.
If you discover any security related issues, please email dev@kuhdo.de instead of using the issue tracker.
MIT. Please see the license file for more information.