To fix this error we need to allow fly in “System Settings” > “Privacy & Security”.
If you are trying to login using fly then, copy the “fly” file and paste it in your project at root level (same place where package.json is there). Now try to login again with fly command. Now you are able to login.