I’m running my Nextcloud instance behind a reverse proxy. In this environment I have access to the trusted X-Forwarded-User, X-Forwarded-Groups, and X-Forwarded-Email headers. Is it possible to configure Nextcloud to use these to authenticate users?
I don’t think you can use http headers for authentication but there many other sso option like oidc, saml and ldap which you can consume to avoid extra authentication.