Skip to content

KUHdo/laravel-auth0-migrator

Repository files navigation

LaravelAuth0Migrator

Latest Version on Packagist Total Downloads run-tests normalize composer.json

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.

Installation

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.

Prerequisites

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=

Usage

https://auth0.com/docs/manage-users/user-migration/bulk-user-imports

Change log

Please see the changelog for more information on what has changed recently.

Testing

$ composer test

Contributing

Please see contributing.md for details and a todolist.

Security

If you discover any security related issues, please email dev@kuhdo.de instead of using the issue tracker.

Credits

License

MIT. Please see the license file for more information.

About

[Read-only] Convert your users database to auth0.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages