A magistrate before whom complaint is laid, or to whom a presentment of a grand jury or information is sent, may issue subpoenas, subscribed by him, for witnesses within the state, either on behalf of the state or of the defendant.
Okla. Stat. tit. 22, § 704