I have the following config
##Users should be given access to the oathauth-enable user right so that they can enable it at Special:OATHAuth
$wgGroupPermissions['user']['oathauth-enable'] = true;
##Set MFA for all logged in users
#$wgOATHRequiredForGroups[] = ['user','WIKI-PSWiki-Admins'];
##Remove 'read' right until auth with MFA
$wgOATHExclusiveRights = ['read'];
But with this the users are being asked to do MFA but they don't have the rights to see the preferences page