Stytch

Latest version: v10.1.0

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

Scan your dependencies

Page 4 of 21

8.1.0

What's Changed
* Autogen update: totp and recovery codes by taronish-stytch in https://github.com/stytchauth/stytch-python/pull/185


**Full Changelog**: https://github.com/stytchauth/stytch-python/compare/v8.0.4...v8.1.0

8.0.4

What's Changed
* Bump jinja2 from 3.1.2 to 3.1.3 by dependabot in https://github.com/stytchauth/stytch-python/pull/183
* fix: Add None to Optional Type WebAuthnFactor.user_agent by ollie-stytch in https://github.com/stytchauth/stytch-python/pull/184

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

**Full Changelog**: https://github.com/stytchauth/stytch-python/compare/v8.0.3...v8.0.4

8.0.3

What's Changed
* Make user_agent WebAuthN Factor Optional by ollie-stytch in https://github.com/stytchauth/stytch-python/pull/182


**Full Changelog**: https://github.com/stytchauth/stytch-python/compare/v8.0.2...v8.0.3

8.0.2

What's Changed
* Add default value for required roles param in local JWT auth by logan-stytch in https://github.com/stytchauth/stytch-python/pull/181


**Full Changelog**: https://github.com/stytchauth/stytch-python/compare/v8.0.1...v8.0.2

8.0.1

What's Changed
* Mark preserve_existing_sessions optional by logan-stytch in https://github.com/stytchauth/stytch-python/pull/180


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

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

Page 4 of 21

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.