Add Custom OAuth via REST API


I’d like to set up a custom OAuth via the REST API. Is there a way to achieve this? I spent all day yesterday studying the documentation and the source code, but it currently doesn’t seem to be possible. Just writing here as a last resort. SAML seems to have options that can be set via the REST API, perhaps that would be an alternative.

Alternatively, is it possible to import options in to Rocket Chat via the REST API to, for instance, create a custom OAuth?

Server Setup Information

  • Version of Rocket.Chat Server: 0.74.3
  • Operating System: Ubuntu 16.04
  • Deployment Method: docker
  • Number of Running Instances: 1