need to make type a string for oauth to not throw error