Giter Site home page Giter Site logo

auth0-import's Introduction

Auth0-Import

Simple command line to send multiple files to the Auth0 Management API.

Requisites

  • You need an Auth0 account
  • Create a database connection where you want to import your users
  • Create a non-interactive client
  • Grant access to your client to the Auth0 Management API. Make sure that it has enabled the following scopes:
    • read:connections
    • create:users

Installation

  1. Clone this repo
  2. Install all packages using yarn
  3. Build the client running npm run build
  4. Verify that the client is ready by running bin/auth0-import.js -h

Usage

 Usage: auth0-import [options] <file1 file2 pattern ...>


  Options:

    -V, --version                         output the version number
    -v,--verbose                          Write aditional information into the output
    -c,--configFile <configuration.json>  Specifies a JSON  configuration file with the options.
                                         Command line options will override the config file options
    -o,--out <results.json>               Name of the file where the detailed results will be stored
    --auth0domain <*.auth0.com>           Auth0 domain where the user accounts will be imported
    --connectionName <name>               Name of the connection into where the users will be imported
    --clientId <client ID>                Client ID to be used by auth0-import to connect to Auth0
    --clientSecret <client Secret>        Client Secret to be used by auth0-import to call the Management API.
                                          This can also be set using the AUTH0_CLIENT_SECRET environment variable
    --upsert                              Files will not only create users but also update existing ones based on email

auth0-import's People

Contributors

crigot avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.