fix oauth integration