• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

kobotoolbox / kpi / 43196965022
86%
master: 76%

Build:
Build:
LAST BUILD BRANCH: release/2.026.43
DEFAULT BRANCH: master
Ran 12 Nov 2026 10:09AM UTC
Jobs 10
Files 891
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

12 Nov 2026 10:03AM UTC coverage: 85.969% (-0.005%) from 85.974%
43196965022

push

github

web-flow
build(deps): upgrade django-oauth-toolkit to 3.4.1 DEV-3217 (#7798)

### 📣 Summary
Updates the OAuth library to its latest security release.

### 📖 Description
This brings in security fixes for apps that connect to KoboToolbox
through OAuth. An app now has to send back exactly the return address it
registered: extra parameters it never registered are refused. Signing in
to KoboToolbox itself works the same as before.

### 👷 Description for instance maintainers
This version adds nine `oauth2_provider` migrations. Two of them lock
the OAuth refresh-token table while they run (a checksum backfill and a
new index), so on an instance with a very large refresh-token table,
OAuth apps can't get or refresh tokens until the migration finishes.
Signing in to KoboToolbox and OAuth tokens already issued keep working.
OAuth applications must register their redirect URIs exactly, query
string included.

### 💭 Notes
- django-oauth-toolkit 3.2.0 → 3.4.1. Both 3.4.0 and 3.4.1 are security
releases: an open redirect from the authorize endpoint, cleartext tokens
in the admin, client secrets in debug logs, revocation now limited to
the calling client, and refresh-token reuse fixes. It was kept out of
DEV-3213 on purpose. The OAuth token tables are small in practice, so
the new migrations are quick. 3.4.1 stops at `0022`; the `0023` that
deletes duplicate refresh tokens isn't released yet.
- 3.4 calls `request.build_absolute_uri()` on every request that reaches
`OAuth2Authentication`. Spectacular's fake requests use the host
`testserver`, so with a restricted `DJANGO_ALLOWED_HOSTS` (kobo-install
sets one) `request.user` raises `DisallowedHost` and
`UserViewSet.get_queryset()` fails: one spectacular warning, and the
`username` path param loses its description. CI runs with `ALLOWED_HOSTS
= ['*']` so it never sees it, but a schema regenerated inside
kobo-install would drift and then fail CI's diff check. `get_queryset()`
now returns early on `swagger_fake_view`, same as
`As... (continued)

10928 of 13744 branches covered (79.51%)

0 of 2 new or added lines in 1 file covered. (0.0%)

1 existing line in 1 file now uncovered.

34178 of 39756 relevant lines covered (85.97%)

5.82 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
47.83
-1.43% kpi/views/v2/user.py

Coverage Regressions

Lines Coverage ∆ File
1
47.83
-1.43% kpi/views/v2/user.py
Jobs
ID Job ID Ran Files Coverage
1 43196965022.1 12 Nov 2026 10:09AM UTC 886
54.44
2 43196965022.2 12 Nov 2026 10:09AM UTC 886
50.05
3 43196965022.3 12 Nov 2026 10:10AM UTC 888
55.78
4 43196965022.4 12 Nov 2026 10:10AM UTC 888
51.42
5 43196965022.5 12 Nov 2026 10:10AM UTC 886
57.45
6 43196965022.6 12 Nov 2026 10:10AM UTC 889
66.45
7 43196965022.7 12 Nov 2026 10:11AM UTC 888
59.03
8 43196965022.8 12 Nov 2026 10:12AM UTC 891
68.96
9 43196965022.9 12 Nov 2026 10:12AM UTC 886
59.47
10 43196965022.10 12 Nov 2026 10:14AM UTC 888
60.64
Source Files on build 43196965022
  • Tree
  • List 891
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 7fe41bca on github
  • Prev Build on main (#43184244100)
  • Next Build on main (#43232543388)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc