[oauth] Fix 2.3 deprecation in connect features