Hello.
We're doing custom authentication against our database, we have users and roles. Currently I'm returning the one single role with the user and putting that in the groups parameter.
The array therefore looks like this:
$ret = array(
'name' => "name",
'admin' => 0,
'groups' => 'role_name',
'email' => 'email@mydbr.com',
'telephone' => ""
);
The array is full of data and the group name is there, but I get the following error when logging in.
Custom authentication return missing groups.
I have even tried hardcoding the groups parameter but still get the same error. If I set it to null the login works, but of course then I have no groups.
Kindly assist.