Skip to content

Commit ce4448b

Browse files
committed
fix: authentication pipeline returning wrong user
1 parent cd1cf47 commit ce4448b

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](http://keepachangelog.com/)
66
and this project adheres to [Semantic Versioning](http://semver.org/).
77

8+
## [4.8.5](https://github.com/python-social-auth/social-core/releases/tag/4.8.5) - 2026-02-10
9+
10+
### Changed
11+
12+
- Fixed partial pipeline handling for unauthenticated users
13+
814
## [4.8.4](https://github.com/python-social-auth/social-core/releases/tag/4.8.4) - 2026-02-10
915

1016
### Changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ license-files = ["LICENSE"]
5959
name = "social-auth-core"
6060
readme = "README.md"
6161
requires-python = ">=3.10"
62-
version = "4.8.4"
62+
version = "4.8.5"
6363

6464
[project.optional-dependencies]
6565
all = [

social_core/actions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ def do_complete( # noqa: C901,PLR0912
6262
user if is_authenticated else None
6363
)
6464

65-
partial = partial_pipeline_data(backend, user, *args, **kwargs)
65+
partial = partial_pipeline_data(backend, authenticated_user, *args, **kwargs)
6666
if partial:
6767
authenticated_user = backend.continue_pipeline(partial)
6868
# clean partial data after usage

0 commit comments

Comments
 (0)