EX-23.2 4 fs42023a1ex23-2_oneok.htm CONSENT OF ERNST & YOUNG LLP., INDEPENDENT REGISTERED PUBLIC ACCOUNTING FIRM FOR MAGELLAN MIDSTREAM PARTNERS, L.P

Exhibit 23.2

 

Consent of Independent Registered Public Accounting Firm

 

We consent to the reference to our firm under the caption “Experts” and to the use of our reports dated February 21, 2023, with respect to the consolidated financial statements of Magellan Midstream Partners, L.P. incorporated by reference in this Registration Statement (Form S-4) and related Prospectus of ONEOK, Inc.

 

/s/ Ernst & Young LLP

 

Tulsa, Oklahoma

 

July 10, 2023