owncloud / android

:phone: The ownCloud Android App
GNU General Public License v2.0
3.85k stars 3.06k forks source link

[FEATURE REQUEST] Enforce OIDC auth flow #4500

Closed jesmrec closed 5 days ago

jesmrec commented 1 month ago

We need to add a new branding option that enforces the OIDC auth flow (assuming basic auth is off).

The new brandable parameter will be called enforce_oidc.

The default behaviour should be keeping enabled the basic auth, so, giving the branding parameter a consistent default value with that given behaviour (false).

In the authentication flow, an unauthenticated request is sent to webdav endpoint to discover the available authentication methods by checking the www-authenticate header. This is not supported and also should be prevented.

TASKS