inside ice maker leaking water under bin

Our ice maker started leaking water into and under the ice bin. It would still make ice but the auger would get frozen solid and cubes would freeze together until there was a big frozen mess. I have thawed it a couple of times and restarted the ice maker and had the same issue. Currently the ice maker is switched off and there are no leaks. The water dispenser from the door works just fine. What parts do I need to replace?