Skip to content

toddbirchard/onelogin-getallusers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Onelogin - Get All users

Onelogin has a number of interface related issues which make large user exports difficult:

  • UI limitation of 5000 users maximum
  • Quickly expiring API tokens
  • Results paginated at 50 users

This resolves these issues by exporting users to a single CSV.

Usage

Clone and install dependencies:

git clone https://github.com/toddbirchard/onelogin-getallusers.git
cd onelogin-getallusers
pip3 install requests pandas

Modify onelogin_config.py with your Client ID and Client Secret:

client_id = 'YOUR ID'
client_secret = 'YOUR SECRET'

Run script

python3 onelogin.py

Future Builds

This repository will be extended to include ways to easily extract from any similar APIs using a simple GUI.

About

❎ Script to export all users from a Onelogin instance

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages