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>
20 lines
568 B
YAML
20 lines
568 B
YAML
# Throwaway Dex for tests/compose.yaml. Log in as admin@example.com / password.
|
|
issuer: http://dex.localhost:5556/dex
|
|
storage:
|
|
type: memory
|
|
web:
|
|
http: 0.0.0.0:5556
|
|
enablePasswordDB: true
|
|
staticPasswords:
|
|
- email: admin@example.com
|
|
# bcrypt("password")
|
|
hash: "$2a$10$2b2cU8CPhOTaGrs1HRQuAueS7JTT5ZHsHSzYiFPm1leZck7Mc8T4W"
|
|
username: alice
|
|
userID: 08a8684b-db88-4b73-90a9-3cd1661f5466
|
|
staticClients:
|
|
- id: funkwhale
|
|
name: Funkwhale
|
|
secret: test-secret
|
|
redirectURIs:
|
|
- http://funkwhale.localhost/accounts/oidc/dex/login/callback/
|