The oath or affirmation is administered before the governor of the state or some person appointed by him/her for this purpose.