OAuth2 automatic connection