God. Canonical scripture was well established before it was formalized as part of traditional Christianity.
That's a major historical error. There were a lot of sacred writings floating about until the Church (inspired of course by the Holy Spirit) decided what was in and what was out.