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>
27 lines
730 B
TOML
27 lines
730 B
TOML
[build-system]
|
|
requires = ["setuptools>=69"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "funkwhale-oidc"
|
|
dynamic = ["version"]
|
|
description = "OpenID Connect login for Funkwhale (Dex, Keycloak, Authentik, ...)"
|
|
readme = "README.md"
|
|
license = "AGPL-3.0-or-later"
|
|
requires-python = ">=3.11"
|
|
# Funkwhale itself (django-allauth, django-environ) is provided by the
|
|
# Funkwhale image; only allauth's OIDC extra is missing from it.
|
|
dependencies = ["PyJWT>=2.8,<3"]
|
|
|
|
[project.urls]
|
|
Homepage = "https://gitea.eom.dev/DevOps/funkwhale-oidc"
|
|
|
|
[tool.setuptools]
|
|
packages = ["funkwhale_oidc"]
|
|
|
|
[tool.setuptools.package-data]
|
|
funkwhale_oidc = ["front/*"]
|
|
|
|
[tool.setuptools.dynamic]
|
|
version = {attr = "funkwhale_oidc.__version__"}
|