If the applicant is unable to pay court costs and expenses of representation, he shall include an affidavit to that effect with the application, which shall then be filed without costs. Counsel necessary in representation shall be made available to the applicant after filing the application on a finding by the court that such assistance is necessary to provide a fair determination of meritorious claims. If an attorney is appointed to represent such an applicant then the fees and expenses of such attorney shall be paid from the court fund.
Okla. Stat. tit. 22, § 1082