An open API service indexing awesome lists of open source software.

https://github.com/simonv3/auth0management

A class and some scripts for managing users on auth0
https://github.com/simonv3/auth0management

Last synced: 7 days ago
JSON representation

A class and some scripts for managing users on auth0

Awesome Lists containing this project

README

          

This is a Auth 0 Management API wrapper class that lets you add and delete users
from Auth0.

It uses python3.

To install:

```
git clone git@github.com:simonv3/auth0management.git
cd auth0management
pip3 install -r requirements.txt
```

(this is just the `requests` library at the moment)

And then:

```
python3 import_users.py --email=
```

or

```
python3 import_users.py --input-file=
```

### Sending Emails After Creating a User

If you want to create a user and send them an onboard e-mail, you need to set
up an e-mail provider for it. Right now the script relies on Mailgun, but other
email providers could be added fairly easily.

Once that's set up (in settings.py) you can add the --send-onboard option
to the API calls.

```
python3 import_users.py --email= --send-onboard
```