Revert "[oauth] Fix 2.3 deprecation in connect features"

This reverts commit c75fdce703ef373af889d844c554c50885de1ee1.