Adjustments to oauth