mitbringsl/android
Tronax 3f187f1ede
Feature: Server-driven auth method discovery + OIDC-only enforcement
Backend:
- New AUTH_PASSWORD_ENABLED flag (default true). When false, email/password
  registration and login return 403; the server enforces OIDC-only login.
- New OIDC_GENERIC_DISPLAY_NAME so the app can show 'Authentik'/'Keycloak'
  instead of a generic 'OIDC' label.
- New public endpoint GET /api/config returns which auth methods the
  server offers (password_enabled + per-provider OIDC capabilities).
  No auth required, so the login screen can query it before logging in.
- .env.example and docker-compose.yml expose the new env vars.

App:
- DTOs + MitbringslApi.getServerConfig() for /api/config.
- AuthViewModel: new 'connect' flow. The user enters the server URL,
  taps 'Verbinden', and the app fetches /api/config. The returned
  ServerAuthConfig drives which login options are shown:
    * password-only -> email/password form
    * OIDC-only     -> OIDC token form
    * both          -> toggle between the two
  If the server offers no method, a clear error is shown.
- AuthScreen: split into ConnectView (server URL) and LoginView (the
  login form matching the server's capabilities). The mode toggle only
  appears when the server offers more than one method.
2026-08-06 10:28:12 +02:00
..
app Feature: Server-driven auth method discovery + OIDC-only enforcement 2026-08-06 10:28:12 +02:00
gradle Android Phase D & E: Auth Screen, SyncEngine, Lists & Detail Screens 2026-08-05 20:12:28 +02:00
.gitignore Android Phase D: Project foundation, Room DB, Retrofit API, Hilt 2026-08-05 20:09:34 +02:00
build.gradle.kts Android Phase D: Project foundation, Room DB, Retrofit API, Hilt 2026-08-05 20:09:34 +02:00
gradle.properties Android Phase D: Project foundation, Room DB, Retrofit API, Hilt 2026-08-05 20:09:34 +02:00
gradlew Android Phase D: Project foundation, Room DB, Retrofit API, Hilt 2026-08-05 20:09:34 +02:00
gradlew.bat Android Phase D: Project foundation, Room DB, Retrofit API, Hilt 2026-08-05 20:09:34 +02:00
settings.gradle.kts Android Phase D: Project foundation, Room DB, Retrofit API, Hilt 2026-08-05 20:09:34 +02:00