fix oauth resources