⚠ Upgrade notes
- Requires Node.js 20.19+ or 22.12+.
- The SDK moved to jose v6, which is ESM-only. Jest setups that do not transform ESM may need transform changes.
getKey()returnsCryptoKey | Uint8Arrayinstead ofKeyLike.- Verifying ML-DSA-44 session tokens needs Node.js 24.7+. On older runtimes the SDK keeps using classical session 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: Bearerheader.
Projects without an ML-DSA-44 key are not affected.
3.0.0 (2026-12-05)
⚠ BREAKING CHANGES
- verify ML-DSA-44 session tokens and move to jose v6 (#847)
Features
- mgmt: token hook settings on inbound applications (#846) (ac39216)
- sso: accepted audiences on tenant SAML SSO settings (#840) (bd37ad1)
- sso: default FGA relations per SSO configuration (#843) (702303b)
- sso: SAML single logout settings for tenant SSO (#839) (9487e65)
- verify ML-DSA-44 session tokens and move to jose v6 (#847) (75140b6)