Skip to content

docs(auth): explain indexed identifier migration and configuration ch… - #551

Merged
nijel merged 1 commit into
masterfrom
migration
Oct 8, 2026
Merged

nijel merged 1 commit into
masterfrom
migration

Conversation

@nijel

@nijel nijel commented Oct 8, 2026

Copy link
Copy Markdown
Member

…anges

Explain staged ID_KEY changes, historical Django backfill overrides, and evidence requirements so upgrades preserve account bindings without broad JSON searches. Document audited compatibility exceptions and recovery.

Fixes python-social-auth/social-app-django#1143
Fixes python-social-auth/social-core#1954
Refs python-social-auth/social-app-django#1120
Refs python-social-auth/social-core#2040
Refs python-social-auth/social-core#2080

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 8, 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-08T06:44:50.489094Z bf3f095 New commits
🔒 Security Review ✅ Completed 2026-10-08T06:17:01.133637Z bb3491c 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

read-the-docs-community Bot commented Oct 8, 2026 •

Copy link
Copy Markdown

@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: bcc5ca7a68

ℹ️ 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 thread docs/backends/google.rst
Comment on lines +172 to +175
depending on the backends in use. If these settings were already enabled before
identifier-key tracking, configure the Django backfill's
``SOCIAL_AUTH_OLD_ID_KEYS`` with ``sub`` for OAuth2, OpenID Connect, and One Tap,
or ``id`` for OAuth1. The historical default backfill otherwise uses ``email``.

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 Name the backend-specific Google legacy settings

For OpenID Connect and One Tap, the two settings shown above are not the applicable flags because settings are scoped by backend name; historical configurations use SOCIAL_AUTH_GOOGLE_OPENIDCONNECT_USE_UNIQUE_USER_ID and SOCIAL_AUTH_GOOGLE_ONETAP_USE_UNIQUE_USER_ID. Referring to “these settings” while including those backends can lead an operator to conclude that the OAuth2 flag affected them and incorrectly backfill email-based rows as sub, after which indexed lookup will no longer find those associations. List each backend-specific legacy setting or restrict this instruction to the two displayed backends.

Useful? React with 👍 / 👎.

…anges

Explain staged ID_KEY changes, historical Django backfill overrides, and
evidence requirements so upgrades preserve account bindings without broad
JSON searches. Document audited compatibility exceptions and recovery.

Fixes python-social-auth/social-app-django#1143
Fixes python-social-auth/social-core#1954
Refs python-social-auth/social-app-django#1120
Refs python-social-auth/social-core#2040
@nijel
nijel merged commit fb5b276 into master Oct 8, 2026
6 checks passed
@nijel
nijel deleted the migration branch October 8, 2026 06:49
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.

Large usersocialauth table on MySQL with v7.0.0 Add migration support for identifiers

1 participant