github descope/python-sdk 1.1.0

latest releases: 1.6.10, 1.6.9, 1.6.8...
19 months ago

Breaking changes

  • PEP8 naming convention alignment: We made sure our Python SDK is aligned to the PEP8 naming convention; this includes the following breaking changes:
    • auth/webauthn.py - transactionID argument of the sign_up_finish function has changed to transaction_id
    • management/jwt.py - updateJWT function has changed to update_jwt

Enhancements

  • Passwords for user authentication: Descope now supports usage of passwords. You can design your authentication flow to include password authentication, update a user's password when expired, and more.
  • User testing utility for your E2E tests: When using authentication methods such as OTP / Magic Link / Enchanted Link, it can get cumbersome to automatically test those as part of the app's testing process. To close this loop - we released a utility with which you can create test users. Those special users are enabled to generate codes or links without the need of 3rd party messaging services.
    You can create, fetch and delete test users - all part of your integration tests code! More information, along with examples, can be found in the SDK's README.
  • Invite users via management commands: Use the new invite User command to programmatically invite users to your project. Just like in the console, you can control which tenants and roles will be associated to the invited users.
  • Masked email and phone dynamic values: We updated some of the authentication methods' responses to return a masked value of the user's verification identifier. Use the masked_address parameter when working with OTP / Magic Link / Enchanted Link to present it in Flow Screens or your own proprietary UI.
  • Pagination support for Users: We now support the ability to paginate the search_all User response. Use the page parameter to define how many results should return in each page.
  • Documentation enhancements: Tiny enhancements to our SDK's README.

Don't miss a new python-sdk release

NewReleases is sending notifications on new releases.