https://github.com/permitio/admin-scripts
https://github.com/permitio/admin-scripts
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/permitio/admin-scripts
- Owner: permitio
- License: apache-2.0
- Created: 2023-07-06T10:19:15.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-07-10T03:08:52.000Z (almost 2 years ago)
- Last Synced: 2025-09-05T22:02:27.312Z (10 months ago)
- Language: Python
- Size: 20.5 KB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# admin-scripts
Here you can find scripts to help you manage your Permit.io account.
In the Auth0 folder, you can find the script to sync your Auth0 users to Permit.io
You can follow the instructions on this page https://docs.permit.io/integrations/authentication/auth0/auth0-sync-script
To run this code run the following commands:
```bash
# Enter to auth0 folder
cd auth0
# Make sure you have Python installed, if you don't have Python install it from https://www.python.org/downloads/
# Install the requirements by running this command
pip install -r requirements.txt
# Add those following env variables AUTH0_DOMAIN AUTH0_MGMT_ACCESS_TOKEN PERMIT_SDK_TOKEN
# Run the script with the csv_file param (you can also add the tenant key that you want those users to be part of with: --tenant_key
python auth0_sync_users_with_permit.py --csv_file
```