$npx skillfedfor your agent

onelogin

OneLogin API Python SDK

With conditionsPyPI InternetReleased Jul 2026166.4K downloads / moNoLicensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — onelogin-4.0.1-py3-none-any.whl
v4.0.1 · released 2026-07-02 · Python >=3.10 · 5 runtime deps: urllib3, python-dateutil, pydantic, aenum, setuptools

Yes, if you are actively using OneLogin and need to manage identity resources programmatically. The SDK is actively maintained, has low install friction, and provides a clean Pydantic-based interface to OneLogin's API. Verify the license terms before adopting in a commercial context, and confirm that your OneLogin API credentials carry the required scopes for your use case.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10+, Pydantic 2.11+, and valid OneLogin API credentials (Client ID and Client Secret) with appropriate scopes from the OneLogin admin portal.
  • Low install friction with a pure-Python wheel.
  • Actively maintained with a release 43 days ago.

License · maintenance · safety

NoLicense (unclear) — License treatment is unclear (marked 'NoLicense' with no SPDX identifier). Before adopting in a commercial or copyleft context, verify the actual license terms in the repository or contact the maintainers.

last release 2026-07-02 (43 days) · last repo commit 2026-07-02 · 40 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 166,381 downloads/mo, #10,495 on PyPI

Verify before relying

pip install onelogin

import os
import onelogin

configuration = onelogin.Configuration(
    host="https://your-subdomain.onelogin.com",
    username=os.environ["ONELOGIN_CLIENT_ID"],
    password=os.environ["ONELOGIN_CLIENT_SECRET"],
)

with onelogin.ApiClient(configuration) as api_client:
    token_api = onelogin.OAuth2Api(api_client)
    token = token_api.generate_token({"grant_type": "client_credentials"})
    configuration.access_token = token.access_token
    users_api = onelogin.UsersV2Api(api_client)
    users_api.list_users2()
  • Whether the 'NoLicense' designation reflects a missing license file, a proprietary license, or an oversight in metadata.
  • Scope and rate limits of the OneLogin API itself (not documented in the SDK excerpt).
  • Whether all OneLogin API endpoints are covered by the SDK or if direct HTTP calls are sometimes necessary.
Same gist for agents: .md · .json

What it is and what it does

The onelogin package is the official Python SDK for OneLogin's REST API. It wraps OAuth2 client-credentials authentication and provides typed API clients for managing users, roles, groups, and applications within a OneLogin tenant. The SDK uses Pydantic for request/response validation and urllib3 for HTTP transport, making it straightforward to integrate OneLogin identity operations into Python applications.

Typical usage involves creating a Configuration object with your OneLogin subdomain and API credentials, exchanging those credentials for an OAuth2 access token, and then instantiating API client objects (UsersV2Api, RolesApi, etc.) to perform CRUD operations. The SDK is actively maintained and supports current Python versions; it requires Python 3.10+ and enforces Pydantic 2.11+ to avoid validation-layer incompatibilities.

Use it for

  • Automate user provisioning and deprovisioning workflows by creating, updating, or deleting users and group memberships programmatically.
  • Build identity-aware applications that query OneLogin for user roles and group membership to enforce access control.
  • Migrate users or configuration data between OneLogin tenants or from legacy systems into OneLogin.
  • Monitor and audit OneLogin resources (users, roles, apps) by fetching and analyzing their current state.
  • Integrate OneLogin authentication into CI/CD pipelines or infrastructure-as-code tools for role-based access management.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you are actively using OneLogin and need to manage identity resources programmatically.

The SDK is actively maintained, has low install friction, and provides a clean Pydantic-based interface to OneLogin's API. Verify the license terms before adopting in a commercial context, and confirm that your OneLogin API credentials carry the required scopes for your use case.

Install

onelogin on PyPI

Before you install

Low install friction with a pure-Python wheel. Actively maintained with a release 43 days ago. Requires Python 3.10+ and Pydantic 2.11+; the Pydantic constraint is enforced and documented, reducing version-mismatch surprises.

Requires Python 3.10+, Pydantic 2.11+, and valid OneLogin API credentials (Client ID and Client Secret) with appropriate scopes from the OneLogin admin portal.

License in practice

License treatment is unclear (marked 'NoLicense' with no SPDX identifier). Before adopting in a commercial or copyleft context, verify the actual license terms in the repository or contact the maintainers.

Quickstart

pip install onelogin

import os
import onelogin

configuration = onelogin.Configuration(
    host="https://your-subdomain.onelogin.com",
    username=os.environ["ONELOGIN_CLIENT_ID"],
    password=os.environ["ONELOGIN_CLIENT_SECRET"],
)

with onelogin.ApiClient(configuration) as api_client:
    token_api = onelogin.OAuth2Api(api_client)
    token = token_api.generate_token({"grant_type": "client_credentials"})
    configuration.access_token = token.access_token
    users_api = onelogin.UsersV2Api(api_client)
    users_api.list_users2()

Verify before relying

  • Whether the 'NoLicense' designation reflects a missing license file, a proprietary license, or an oversight in metadata.
  • Scope and rate limits of the OneLogin API itself (not documented in the SDK excerpt).
  • Whether all OneLogin API endpoints are covered by the SDK or if direct HTTP calls are sometimes necessary.

Package facts

LicenseNoLicense unclear
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
5 packages
urllib3python-dateutilpydanticaenumsetuptools
MaintenanceActively maintained 43 days since the last release
Last repo commit
First released
Downloads166,381 / month, #10,495 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14

Evidence: onelogin-4.0.1-py3-none-any.whl

Tags

Capabilities
onelogin api clientidentity management sdkoauth2 client credentialsuser provisioning apisingle sign-on integrationaccess management sdkauthentication api python
Topics
identity-managementoauth2api-client
PyPI keywords
OneLoginSDKAPI

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “onelogin api client”

  • oneloginOfficial Python SDK for OneLogin's API, enabling programmatic…
  • codewords-clientA Python client library for the Codewords API with built-in FastAPI…
  • twentyc.rpcA client library for consuming 20c's RESTful API, built on top of the…

Give your agent the search over MCP, or paste the wish link into any chat.

More Internet packages

botocore Worth it
PyPI · Internet · released Aug 2026

Botocore provides low-level, data-driven access to Amazon Web Services APIs, serving as the foundation for the AWS CLI and boto3 libraries.

Install it if you need programmatic access to AWS services.

permissive licensepure Python · 3.10+
1.5Bdownloads / mo
aiobotocore Worth it
PyPI · Internet · released Aug 2026

Provides an async client for AWS services using botocore and aiohttp, allowing you to call AWS APIs asynchronously within asyncio-based applications.

Install it if you need to call AWS services from async Python code; it is the standard way to do so.

Apache-2.0pure Python · 3.10+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
filelock Worth it
PyPI · Libraries · released Aug 2026

Provides a platform-independent file locking mechanism to coordinate access to files across processes and threads.

MITpure Python · 3.10+
717.1Mdownloads / mo
fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
googleapis-common-protos Worth it
PyPI · Internet · released Aug 2026

Provides common Protocol Buffer message definitions used across Google Cloud APIs, enabling Python clients to interact with Google services.

Apache-2.0pure Python · 3.10+
513.7Mdownloads / mo

See also onfido-python · openfga-sdk · coze-workload-identity · asana · python3-saml · authentik-client · oauth2-client · okta · foundry-platform-sdk · propelauth-py