3 Commits
Author SHA1 Message Date
claudeandClaude Opus 5.5 a29293bd7e Bump the service worker's index.html revision after injecting
Funkwhale's service worker precaches index.html by a build-time revision,
so returning visitors kept the unmodified page. inject.sh now writes the
modified page's hash into serviceWorker.js, which makes browsers install
the updated worker and fetch the new page.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 15:48:32 -05:00
claudeandClaude Opus 5.5 b8978221a3 Option to turn off local login (FUNKWHALE_OIDC_LOCAL_LOGIN)
With it false, a middleware rejects password login, sign-up and password
reset/change in the API, allauth's pages and the Django admin, and the
web app shows only the provider button. /login and /signup go straight
to the provider, and the post-login redirect never points back at them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 15:41:28 -05:00
claudeandClaude Opus 5.5 fc3120ee3f OpenID Connect login for Funkwhale as a plugin
Turns on django-allauth's generic openid_connect provider, which
Funkwhale already ships, and wires it to Funkwhale accounts: actor and
libraries on first login, admin by username or group, optional link by
e-mail. The front assets add a login button to the web app and proxy
/accounts/ to the API. Tested end to end against Funkwhale 2.0.13 and
Dex v2.44.0 (tests/compose.yaml).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 15:14:33 -05:00