I have a Drupal 8 and Rocket.chat integrated. I can show rocket.chat channels inside a Drupal 8.
I want to use oauth2 to authenticate Drupal8 registered users to my rocket.chat local server.
I have installed Drupal 8 Simple oauth module https://www.drupal.org/project/simple_oauth
And I think I have set it up correctly.
In the rocket.chat server, in OAUTH section, there is a Drupal block.
In that there are two fields: “Drupal oAuth2 Client ID” and “Drupal oAuth2 Client Secret”
Where should I get these, the Drupal 8 oauth2 module shows only a UUID but no secret anywhere ?
Or which Drupal 8 module should I use to achieve this to work, maybe this “simple_oauth” module is not good with rocket.chat? Or is there a module at all to make oauth2 work with Drupal 8 ?
Server Setup Information
- Version of Rocket.Chat Server: 3.6.1
- Operating System:
- Deployment Method:
- Number of Running Instances: 1
- DB Replicaset Oplog:
- NodeJS Version: 12.14.0
- MongoDB Version: 4.4.1
- Firewalls involved: none