Login to nextcloud via Rocket Chat using OAuth

Hi, I would like to setup Nextcloud and login into it using user accounts from Rocket Chat application. Is OAuth2 client functionality available for Nextcloud?

maybe you wanna take a look here


and maybe even here


and perhaps - even if you didn’t ask for it - you might like this app as well


but i can’t find oauth server function from rocket chat. -_-