Commit 8fcdc79
authored
Remove twitter Oauth (#408)
* Remove Twitter/X OAuth login integration
Fixes FPBASE-5NT
Twitter/X OAuth has been broken since late October 2025 due to X's
domain migration from twitter.com to x.com. The OAuth endpoint has
been returning error code 32 (Could not authenticate you) for
1,178+ attempts affecting 263 users over 2.5 months.
Since no users have contacted us about the issue and the 242
Twitter-only users can use password reset to regain access, removing
the broken integration is the cleanest solution.
Changes:
- Remove allauth.socialaccount.providers.twitter from INSTALLED_APPS
- Remove Twitter login button from login.html template
- Clean up Twitter-specific adapter logic
- Remove Twitter exclusion logic from provider_list.html template
* undo ignore change
* Add migration for year validator (2026 -> 2027)1 parent 11e0017 commit 8fcdc79
File tree
5 files changed
+28
-20
lines changed- backend
- config/settings
- fpbase
- templates
- account
- socialaccount/snippets
- users
- references/migrations
5 files changed
+28
-20
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
75 | 74 | | |
76 | 75 | | |
77 | 76 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | | - | |
31 | 29 | | |
32 | 30 | | |
33 | 31 | | |
| |||
Lines changed: 9 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
20 | 12 | | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
21 | 16 | | |
22 | 17 | | |
23 | 18 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | 25 | | |
Lines changed: 19 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
0 commit comments