Since Mid of 2018 EDL flash can only be done through an authorised EDL account. This was implemented to prevent misuse of Illegal rom flashing on Chinese devices to be able to sell them overseas. Xiaomi doesn't give EDL authorisations anymore. However, i wonder, how did you brick the device? Did you lock the device on a custom firmware?