Releases: descope/python-sdk
1.7.13
This release adds support for customizing the client base URL, improves user retrieval capabilities, and includes a fix for management token validation.
π New Features & Enhancements
- Custom Base URL β Added a
base_urlparameter toDescopeClientfor flexible endpoint configuration (#691) - Load Users by ID β Added the ability to retrieve users directly by their unique ID (#698)
π Fixes & Maintenance
- Management Token Validation β Fixed validation logic for management tokens to ensure proper verification (#703)
π Full Changelog: Compare 1.7.12...1.7.13
1.7.12
This release introduces an internal HTTP client abstraction for management key handling, adds audience override support, and includes new tenant session settings functions.
π New Features & Enhancements
- HTTP Client Abstraction β Introduced a new
HTTPClientto encapsulate and manage the different management key requirements across SDK operations (#633) - Audience Override Support β Added automatic audience override when the provided value includes a Project ID (#674)
- Tenant Session Settings β Added functions for managing tenant session settings (#684)
π Full Changelog: Compare 1.7.11...1.7.12
1.7.11
1.7.10
This release introduces support for using the Descope FGA Cache Proxy from the Python SDK
π New Features & Enhancements
- Descope FGA Cache Support: Response times of repeated FGA
checkcalls, especially in high volume scenarios, can be reduced to sub-millisecond scales by re-directing the calls to a Descope FGA Cache Proxy running in the same backend cluster as your application. After setting up the proxy server via the Descope provided Docker image, set thefga_cache_urlparameter to be equal to the proxy URL to enable its use in the SDK (#656)
π Fixes & Maintenance
- Various dependency & CI tools version updates
Full Changelog: 1.7.9...1.7.10
1.7.9
This release adds a way to search users that must have multiple roles in a tenant as well as fixing jwt expiry error message.
π New Features & Enhancements
- Allow searching for users with all roles in a tenant in #637
π Fixes & Maintenance
- Adjust jwt expiry error messages in #634
Full Changelog: 1.7.8...1.7.9
1.7.8
This release introduces support for authentication management keys and outbound apps support.
π New Features & Enhancements
- Auth Management Key β Added capability to use management key for Auth requests (#624)
- Outbound Apps Support β Added support for managing outbound apps (#621)
π Full Changelog: Compare 1.7.7...1.7.8
1.7.7
This release introduces support for Python 3.13, embedded link signup, default role assignment, and enhancements to user and tenant search functionality.
π New Features & Enhancements
- Embedded Link Signup β Added support for user signup via embedded links (#585)
- Default Role on Sign-Up β Allow setting a default role when creating new users (#588)
- Python 3.13 Support β Added compatibility with Python 3.13 (#599)
- Tenant Role Search Enhancements β Added
tenant_role_idsandtenant_role_namesparameters to user search results (#612)
π Fixes & Maintenance
- Test User Support β Added support for managing test users through the User Management functions (#609)
π Full Changelog: Compare 1.7.6...1.7.7
1.7.6
1.7.5
This release includes improvements to user invitation status, SSO enforcement settings, tenant management, FGA resource handling, and more.
π New Features & Enhancements
- Expand Role Search Options β Add the ability to include project roles in role search (#550)
- Invite Users with Specific Status β Support inviting users with a predefined user status (#556)
- Custom Refresh Token Duration β Allow setting a custom refresh token duration during authentication (#559)
- Tenant API Enhancements β Introduced the ability to Enforce SSO or Disable a tenant using the
enforce_ssoanddisabledfields in the tenant management API (#538) - Save/Load FGA Resource Details β Added management APIs to persist FGA resource configurations (#562)
- Stop Impersonation API β Introduced an endpoint to explicitly stop an active impersonation session (#565)
- Add Template ID and Provider ID to Update User β Extended the update user request to support specifying a template and provider ID (#549)
π Full Changelog: Compare 1.7.4...1.7.5
1.7.4
This release includes enhancements to SSO role management, user management APIs, anonymous user support, and more.
π New Features & Enhancements
- Update JWT Refresh Duration Default Param β Set default parameter handling for JWT refresh duration (#492)
- Anonymous Users Support β Added support for creating and managing anonymous users (#494)
- Search Users by User IDs β Added capability to search for users using user IDs (#498)
- Return User Response in Update/Patch User β The
update_userandpatch_usermethods now return the updated user object (#500) - Default SSO Roles Support β Added support for configuring default roles for SSO users (#539)
π Full Changelog: Compare 1.7.3...1.7.4