pypi stytch 13.0.0
v13.0.0

latest releases: 13.21.0, 13.20.1, 13.20.0...
5 months ago

What's Changed

Why this is a MAJOR update

In the B2B API, local JWT authentication was only returning the member session. If a new session_jwt was minted, there was no way for the client to retrieve the new value, which meant further local authentication would never succeed.

This release addresses the issue by returning an AuthenticateJWTLocalResponse from the authenticate_jwt endpoint.

It also modifies the consumer JWT authentication since the proper return type is AuthenticateJWTLocalResponse, not Optional[AuthenticateJWTLocalResponse]. The methods will never return None, they will always contain a response (unless an error occurred, which will be propagated via a StytchError being raised).

Full Changelog: v12.13.0...v13.0.0

Don't miss a new stytch release

NewReleases is sending notifications on new releases.