There is no author or legislator of the moral law. It is simply valid in itself in the nature or essence of things. We become autonomous only when we obey it, because then our will aligns itself with the objectively valid law, and our choice follows the same law as that we give ourselves. We can think of rational faculty (or the idea - the pure rational concept, not exhibitable in experience) as the legislator or author of the law because reason recognizes an objective standard, and to that extent is already aligned with objective moral truth.