Repository navigation
⚠ Breaking changes
- The SDK moved to jwx v3.
descope.NewTokennow takes a jwx v3jwt.Token. Code that calls it directly with a jwx v2 token must switch togithub.com/lestrrat-go/jwx/v3/jwt.
⚠ 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.
1.42.0 (2026-12-05)
Features
- auth: verify ML-DSA-44 session tokens and move to jwx v3 (#957) (ec833e5)
- mgmt: agentic flag and createdBy owner on third party applications (#947) (ac2a1ce)
- mgmt: async snapshot import and import status polling (#952) (c54b056)
- mgmt: session settings on third party applications (#951) (68f7187)
- mgmt: token hook settings on third party applications (#955) (1f93f28)
- sso: add accepted audiences to SAML SSO settings (#944) (68013fa)
- sso: default FGA relations per SSO configuration (#950) (b457056)
- sso: SAML single logout for tenant SSO configurations (#939) (6d64311)
Bug Fixes
- auth: accept only session tokens in ValidateSession (#953) (cd125ad)
- auth: apply session cookie skip to ML-DSA tokens only (#960) (d30ec47)
- auth: never set an ML-DSA session token as a cookie (#959) (c590647)
- auth: send protocol version only while an ML-DSA key is cached and fall back to v2 keys on a non key set response (#961) (427e196)
- deps: update module github.com/descope/go-sdk to v1.41.1 (#945) (948833e)
- sdk: test untested paths, simplify regex, enforce tls 1.2+ (#708) (220b39a)