Skip to content

docs(security): clarify disconnect fallback checks - #562

Merged
nijel merged 1 commit into
masterfrom
docs/disconnect-configured-backends
Oct 14, 2026
Merged

nijel merged 1 commit into
masterfrom
docs/disconnect-configured-backends

Conversation

@nijel

@nijel nijel commented Oct 14, 2026

Copy link
Copy Markdown
Member

No description provided.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 14, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-14T08:21:54.003345Z 874bac8 PR opened
🔒 Security Review ✅ Completed 2026-10-14T08:21:53.306604Z 874bac8 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@read-the-docs-community

Copy link
Copy Markdown

Documentation build overview

📚 Python Social Auth | 🛠️ Build #35136760 | 📁 Comparing 874bac8 against latest (c446a2c)

  🔍 Preview build  

2 files changed
± pipeline.html
± configuration/django.html

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 874bac8e9d

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +223 to +224
default check that the user has a usable password or another association whose
provider is present in ``AUTHENTICATION_BACKENDS``, optional provider token

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Remove the nonexistent backend-configuration check

In social-app-django, DjangoUserMixin.allowed_to_disconnect returns valid_password or qs.exists() after excluding the association/provider being removed; it never consults AUTHENTICATION_BACKENDS. Therefore, when a user has an association for a disabled or removed backend, the pipeline can still allow disconnecting their last working login method, contrary to this security assurance (also repeated in pipeline.rst). Document that any remaining association satisfies the current check, unless the implementation is changed to validate configured backends.

Useful? React with 👍 / 👎.

@nijel
nijel merged commit 6474218 into master Oct 14, 2026
6 checks passed
@nijel
nijel deleted the docs/disconnect-configured-backends branch October 14, 2026 08:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant