you can use the latest Rocket.Chat version and use Custom OAuth in Rocket.Chat to allow users to login to Rocket.Chat using their UNA or Dolphin account:
https://una.io/cmts.php?sys=bx_forum&id=3923&cmt_id=20711
Thanks ill check this Alex.