fix api params for oauth