Epic Games Launcher crashes on MacOS due to invalid backend

I tried this but there is not PortalRegions.ini file:

DefaultPortalRegions.ini does not have an entry for ConsumingClientId.
DefaultEngine.ini does have those entries:

[EpicOnlineServices Prod]
ConsumingClientId=7a4...

[EpicOnlineServices Gamedev]
ConsumingClientId=308...

Where do I put it?