Repository navigation
chore(deps): update dependency social-auth-core to v7 - #618
Merged
Merged
Conversation
Documentation build overview
13 files changed ·
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
==6.2.0→==7.0.0Release Notes
python-social-auth/social-core (social-auth-core)
v7.0.0Compare Source
Security
of restoring a session selected through RelayState. A same-origin return page
supports SameSite=Lax cookies across framework integrations. IdP-initiated
login is now disabled by default and requires explicit opt-in. In-progress
SAML logins must restart after upgrading.
a session selected by the assertion's signed return URL. In-progress OpenID
logins must restart after upgrading.
Added
BaseAuth.get_provider_error()hook for classifying provider errors incallbacks and HTTP responses.
PKCE enabled by default.
Changed
BaseAuth.authenticate()now runs the pipeline on the backend passed in thebackendkeyword argument through its newrun_authentication()method.This preserves the original backend's state when a framework such as Django
calls
authenticate()on a separate backend instance. Passing astrategydifferent from the supplied backend's strategy now raises
AuthConfigurationError; create the backend with the intended strategy.BaseAuth.strategyis deprecated and emits aDeprecationWarning.Type checkers now treat it as read-only. Create the backend with the intended
strategy instead.
preserving that type through authentication actions and decorated partial
pipeline steps, including steps returning HTML responses.
Fixed
invalid_request) orof a deactivated user's refresh token (401
User is inactive) now raisesAuthCredentialErrorwithreauthentication_requiredinstead ofAuthProviderErrororAuthCanceled.invalid_requestfailures asAuthConfigurationError.AADSTS9002325, explainingthat server-side callbacks must use the Web platform in the app registration.
Removed
BaseStrategy.get_session_id(),BaseStrategy.restore_session(), andBaseStrategy.SESSION_SAVE_KEY. Custom strategies and backends using themmust migrate to browser-bound callback correlation.
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.