In Version 4 the allowNativeBroker flag is renamed to allowPlatformBroker
Migrating from MSAL v3 to MSAL v4