github descope/python-sdk descope-2.20.0
descope: v2.20.0

24 minutes ago

Runtime requirements for ML-DSA-44

  • Verifying ML-DSA-44 session tokens needs cryptography 48 or later. With an older version the SDK skips ML-DSA-44 keys, does not request ML-DSA-44 session tokens, and keeps verifying classical tokens.

⚠ Before you add an ML-DSA-44 signing key to a project

This release verifies ML-DSA-44 (post-quantum) session tokens. Adding an ML-DSA-44 key to a project changes the tokens Descope issues, so check these first:

  • Every service that verifies the project's session tokens (other Descope SDKs, API gateways, custom JWT code) must support ML-DSA-44.
  • Browser and mobile SDKs always request ML-DSA-44 session tokens once the project has the key, so any backend that verifies those tokens must be ready first.
  • ML-DSA-44 session tokens are too large to store in a cookie next to the refresh token. Return the session token in the response body and have the client send it in the Authorization: Bearer header.

Projects without an ML-DSA-44 key are not affected.


2.20.0 (2026-12-05)

Features

  • auth: verify ML-DSA-44 session tokens (#1797) (f7cc8d4)
  • sso: default FGA relations per SSO configuration (#1789) (c75d0df)
  • support python 3.15 (#1798) (c046602)
  • third-party-app: support token hook settings on create, update and patch (#1793) (904acfb)

Bug Fixes

  • accept only session tokens in validate_session (#1791) (bdce26b)

Don't miss a new python-sdk release

NewReleases is sending notifications on new releases.