The source of the income is OK.
Your resident state of KS will tax all income regardless of where made.
Oklahoma nonresident Filing Requirements
Every nonresident with Oklahoma source gross income of $1,000 or more is required to file an Oklahoma income tax return.
I do not know how much income you have in OK , but if it is greater than $1,000 do the OK return before the KS return as you will get a credit on the KS return for taxes paid to another state.