Skip to content

Bump social-auth-app-django from 7.1.0 to 7.2.0 - #426

Merged
yushan87 merged 1 commit into
mainfrom
dependabot/pip/main/social-auth-app-django-7.2.0
Oct 27, 2026
Merged

yushan87 merged 1 commit into
mainfrom
dependabot/pip/main/social-auth-app-django-7.2.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

Bumps social-auth-app-django from 7.1.0 to 7.2.0.

Release notes

Sourced from social-auth-app-django's releases.

7.2.0

Added

  • Support Python 3.15 and Django 6.1.

Changed

  • Consolidate the Django threat model around integration security boundaries, linking deployment and configuration guidance to the project documentation.
  • Resolve sign-in labels through the strategy-aware backend get_title() method when available, including Hosted Weblate and custom Weblate issuers.

Fixed

  • Require launch bridge redirect targets and application launch Referer headers to match allowed hosts exactly, including explicit ports.
  • Preserve request and provider dictionaries resembling model references when resuming partial pipelines. New saved values distinguish model references from ordinary data while retaining support for existing partials. Deploy all workers together; older versions cannot read the new encoded values.
  • Treat authenticated launch-bridge redirect targets as literal URLs, fixing errors for relative targets and unintended resolution as URL pattern names.
  • Validate provider session expiry before logging in so invalid expiry data cannot leave an authenticated session after an error redirect or bypass SOCIAL_AUTH_MAX_SESSION_LENGTH.
  • Do not count associations for association-only backends, which cannot log a user in, as a remaining login method when disconnecting.
  • Repair historical Twitch OpenID Connect identifier labels in a new migration, restoring login for accounts affected by the 7.1.0 backfill. Historical SOCIAL_AUTH_OLD_ID_KEYS overrides take precedence over backend detection; review any user accounts orphaned by earlier failed logins separately.
  • Treat association ID 0 as a specific ID when disconnecting, preventing accidental removal of all associations for the backend.
  • Handle reused Discourse callbacks and missing nonces through the configured authentication error page or redirect instead of returning HTTP 500.

Security

  • Atomically claim OAuth2 transaction state through the existing Nonce model, preventing simultaneous callbacks from consuming the same state. Expired claims are removed by clearsocial, which now applies its --age retention limit to all stored nonces using an indexed timestamp.
  • Retain original exception tracebacks in server logs when authentication 5xx failures are handled through an error redirect.
  • Prevent passwordless users from disconnecting their last association backed by a configured authentication backend when only stale provider rows remain.
  • Reject authentication callbacks when their authenticated cookie session belongs to a different user than the restored flow session, preventing a provider identity from being associated with the wrong local account.

... (truncated)

Changelog

Sourced from social-auth-app-django's changelog.

7.2.0 - 2026-10-20

Added

  • Support Python 3.15 and Django 6.1.

Changed

  • Consolidate the Django threat model around integration security boundaries, linking deployment and configuration guidance to the project documentation.
  • Resolve sign-in labels through the strategy-aware backend get_title() method when available, including Hosted Weblate and custom Weblate issuers.

Fixed

  • Require launch bridge redirect targets and application launch Referer headers to match allowed hosts exactly, including explicit ports.
  • Preserve request and provider dictionaries resembling model references when resuming partial pipelines. New saved values distinguish model references from ordinary data while retaining support for existing partials. Deploy all workers together; older versions cannot read the new encoded values.
  • Treat authenticated launch-bridge redirect targets as literal URLs, fixing errors for relative targets and unintended resolution as URL pattern names.
  • Validate provider session expiry before logging in so invalid expiry data cannot leave an authenticated session after an error redirect or bypass SOCIAL_AUTH_MAX_SESSION_LENGTH.
  • Do not count associations for association-only backends, which cannot log a user in, as a remaining login method when disconnecting.
  • Repair historical Twitch OpenID Connect identifier labels in a new migration, restoring login for accounts affected by the 7.1.0 backfill. Historical SOCIAL_AUTH_OLD_ID_KEYS overrides take precedence over backend detection; review any user accounts orphaned by earlier failed logins separately.
  • Treat association ID 0 as a specific ID when disconnecting, preventing accidental removal of all associations for the backend.
  • Handle reused Discourse callbacks and missing nonces through the configured authentication error page or redirect instead of returning HTTP 500.

Security

  • Atomically claim OAuth2 transaction state through the existing Nonce model, preventing simultaneous callbacks from consuming the same state. Expired claims are removed by clearsocial, which now applies its --age retention limit to all stored nonces using an indexed timestamp.
  • Retain original exception tracebacks in server logs when authentication 5xx failures are handled through an error redirect.
  • Prevent passwordless users from disconnecting their last association backed by a configured authentication backend when only stale provider rows remain.
  • Reject authentication callbacks when their authenticated cookie session belongs to a different user than the restored flow session, preventing a

... (truncated)

Commits
  • 9fa3fab chore: release 7.2.0
  • 4e949ed docs(security): consolidate Django threat model
  • c042ad0 chore(deps): update ghcr.io/astral-sh/uv docker tag to v0.13.3
  • 2abfb49 test(auth): align callback tests with supported core versions
  • 1a8852b fix(storage): atomically claim OAuth2 state nonces
  • 1c547e0 fix(views): require exact launch redirect authorities
  • 1ea952d fix(strategy): disambiguate serialized model references
  • 08ef7d7 fix(views): preserve literal launch redirect targets
  • 22561c5 fix(auth): validate session expiry before login
  • f1596d2 chore(deps): update pre-commit hook rvben/rumdl-pre-commit to v0.3.0
  • Additional commits viewable in compare view

@dependabot dependabot Bot added the dependencies Dependencies updates label Oct 26, 2026
@dependabot
dependabot Bot force-pushed the dependabot/pip/main/social-auth-app-django-7.2.0 branch from b93d664 to 5584000 Compare October 26, 2026 13:53
Bumps [social-auth-app-django](https://github.com/python-social-auth/social-app-django) from 7.1.0 to 7.2.0.
- [Release notes](https://github.com/python-social-auth/social-app-django/releases)
- [Changelog](https://github.com/python-social-auth/social-app-django/blob/master/CHANGELOG.md)
- [Commits](python-social-auth/social-app-django@7.1.0...7.2.0)

---
updated-dependencies:
- dependency-name: social-auth-app-django
  dependency-version: 7.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/pip/main/social-auth-app-django-7.2.0 branch from 5584000 to 885f84f Compare October 26, 2026 14:03
@yushan87
yushan87 self-requested a review October 27, 2026 13:22
@github-project-automation github-project-automation Bot moved this from In progress to Reviewer approved in BeginToReason2 v2026.1 Oct 27, 2026
@yushan87
yushan87 merged commit af9e715 into main Oct 27, 2026
7 checks passed
@github-project-automation github-project-automation Bot moved this from Reviewer approved to Done in BeginToReason2 v2026.1 Oct 27, 2026
@dependabot
dependabot Bot deleted the dependabot/pip/main/social-auth-app-django-7.2.0 branch October 27, 2026 13:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Dependencies updates

Projects

Development

Successfully merging this pull request may close these issues.

1 participant