This is a small example illustrating how you can create a LaunchDarkly user using the SCIM API. It does 3 things:
- Directs you to authorize your app with LaunchDarkly
- Gets a token
- Creates a user
This does NOT do anything else yet - such as getting a token for a new session, passing in different user credentials, or integrating with any particular IdP. It is just intended as a small example to help get you started, and show a bit of example data. Hope it helps! :)
- Make sure you have
pip installed all the dependencies - Replace
client_id,client_secret, andredirect_uriwith your values - Replace the
SCIMPayloadvalues to your own test account - Run the Python file to start the server
- In a browser, go to (by default) http://localhost:5000/auth
When you successfully run the file, it will enable SCIM provisioning on your account. Go to Account Settings > Security to deactivate that as desired.