Internal SSD damaged on M1 Mac Mini.
My M1 Mac Mini 256gb SSD has apparently become faulty. I cannot use the Mac at all. When I try to use the Emergency route to reformat and install a new system, it says there's no authorized user. When I try to make a new external SSD system drive on my Mac Studio to boot up with under the Emergency boot-system, it says there's no authorized user, even though I click on myself as authorized and submit the appropriate password (which is ostensibly accepted). I'm in an endless loop, it seems, with nothing able to solve my problem. Right now, the Mac Mini is a brick.
Mac mini, macOS 12.4