def METHOD_NAME(self, setting_field_key, setting_field_value, output_name, output_value):
    """
    Test user details are picked based on the field mapping defined in settings
    """
    provider_config = self.configure_identityServer3_provider(
        enabled=True,
        other_settings=json.dumps({
            setting_field_key: setting_field_value,
        })
    )
    assert provider_config.backend_class().get_user_details(self.response)[output_name] == output_value