Onelogin

Manage users and apps via OneLogin API. Handle SSO and identity management.

modbender Updated 12 repo stars

File contents

OneLogin

Identity and access management.

Environment

export
export
export  # or eu

Get Access Token

curl -X POST "https://api.$ONELOGIN_REGION.onelogin.com/auth/oauth2/v2/token" \
  -u "$ONELOGIN_CLIENT_ID:$ONELOGIN_CLIENT_SECRET" \
  -d "grant_type=client_credentials"

List Users

curl "https://api.$ONELOGIN_REGION.onelogin.com/api/2/users" \
  -H "Authorization: Bearer $ACCESS_TOKEN"

Create User

curl -X POST "https://api.$ONELOGIN_REGION.onelogin.com/api/2/users" \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"email": "user@example.com", "firstname": "John", "lastname": "Doe"}'

Links

modbender/skill-library-mcp/tree/main/data/onelogin commit d8b8178776

Frequently asked questions

npx skillmds@latest add modbender/onelogin