How to login to nextcloud via Rocket Chat using OAuth?

Description

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

Server Setup Information

  • Version of Rocket.Chat Server: latest 15 sep, 20
  • Operating System: ubuntu server 18.04

This issue is solved

how do you solved it?