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
- Host: GitHub
- URL: https://github.com/simonv3/auth0management
- Owner: simonv3
- Created: 2018-04-13T17:01:37.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-04-24T20:39:38.000Z (about 8 years ago)
- Last Synced: 2025-02-21T17:48:24.153Z (over 1 year ago)
- Language: Python
- Size: 7.81 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```