Stytch

Latest version: v12.5.0

Safety actively analyzes 706267 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 8 of 24

8.0.0

RBAC
* The Stytch product will soon support role-based access control (RBAC)! See our RBAC guide at https://stytch.com/docs/b2b/guides/rbac/overview for more detailed explanations of our RBAC product.
* RBAC policies must be set through the dashboard, but you can use various endpoints to assign Roles to Members and add implicit role assignments to Organizations and SSO connections (more details in the guide at https://stytch.com/docs/b2b/guides/rbac/role-assignment).
* You can perform an RBAC authorization check when authenticating a JWT. This will use a locally cached version of the RBAC policy.
* Some endpoints, such as Create Member, offer out-of-the-box handling of RBAC authorization checks if a session token or session JWT is passed in.

Other changes
* Added support to core HTTP clients to send headers. This is used for certain routes that can be used in conjunction with RBAC for authorization, like `magic_links.email.invite()`.
* Some methods will now have a new optional `$METHODRequestOptions` field – this is used to supply authorization data for RBAC (see previous point).
* `authenticate_jwt` and `authenticate_jwt_local` now accept an optional `AuthorizationCheck` parameter for performing RBAC checks. These will use a cached version of the project's RBAC policy in order to make an authZ verdict.
* Built a `LazyCache` (which is intended to only be exposed internally that is used for fetching the project's RBAC policy only when needed – by default this expires every 5 minutes, but only refreshes upon receiving a request that will use the value. This means that if your project does not use RBAC, the cache will never fetch the policy.
* Additionally, this update features a large amount of documentation updates which should better reflect what you can find at https://stytch.com/docs.

Autogenerated notes below
What's Changed
* docs: update link to web sdk by jbolduc-stytch in https://github.com/stytchauth/stytch-python/pull/177
* Release stytch-python v8 with new RBAC features by logan-stytch in https://github.com/stytchauth/stytch-python/pull/179

New Contributors
* jbolduc-stytch made their first contribution in https://github.com/stytchauth/stytch-python/pull/177

**Full Changelog**: https://github.com/stytchauth/stytch-python/compare/v7.9.0...v8.0.0

7.9.0

What's Changed
* Bump minimum supported version to 3.8 by logan-stytch in https://github.com/stytchauth/stytch-python/pull/178


**Full Changelog**: https://github.com/stytchauth/stytch-python/compare/v7.8.0...v7.9.0

7.8.0

What's Changed
* Add "dangerously get member" to SDKs and SAML Update by URL and Doc by vincent-stytch in https://github.com/stytchauth/stytch-python/pull/175


**Full Changelog**: https://github.com/stytchauth/stytch-python/compare/v7.7.4...v7.8.0

7.7.4

What's Changed
* Add WebAuthnUpdate by alex-stytch in https://github.com/stytchauth/stytch-python/pull/162


**Full Changelog**: https://github.com/stytchauth/stytch-python/compare/v7.7.3...v7.7.4

7.7.3

What's Changed
* Add additional fields to B2B Password Reset by Session by nikhil-stytch in https://github.com/stytchauth/stytch-python/pull/161


**Full Changelog**: https://github.com/stytchauth/stytch-python/compare/v7.7.2...v7.7.3

7.7.2

* [118cff0](https://github.com/stytchauth/stytch-python/commit/118cff0dc8f1ca5a2b2be9738e5f282c658af8f7): Fix B2B local JWT auth logic

**Full Changelog**: https://github.com/stytchauth/stytch-python/compare/v7.7.1...v7.7.2

Page 8 of 24

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.