Owncloud SSO with load balancer provided credentials

Hi.

We are trying to implement SSO to owncloud via load balancer that provides the credentials to the backend server by headers so that user would not have to type in it’s credentials to owncloud login screen as the authentication has already been done in the load balancer. Back in the old days using owncloud version 9.1.6 this could be achieved with app: User server environment authentication. Now as we upgraded to owncloud version 10.7.0 the app is no longer available. So any ideas on how to get it working again? On the old version the app was configured like this:

‘user_backends’ =>
array (
0 =>
array (
‘class’ => ‘OC_User_Server_Environment’,
‘arguments’ =>
array (
‘username’ => ‘REMOTE_USER’,
‘displayname’ => ‘REMOTE_USER’,
‘base_url’ => ‘/owncloud/’,
‘logout_redirect’ => ‘/logout.php’,
),
),
),

We can use the load balancer to supply the credentials with basic auth also to the backend but what i have read from here i’m not sure if it can handle it…? Any suggestions to solve this problem is highly appreciated.