OAuth updated to provide errors instead of alerts