Authenticate against Azure AD/OAuth

Description

Unable to get authentication using Azure AD and RocketChat OAuth.

Does anyone have a good guide to point to?

Server Setup Information

  • Version of Rocket.Chat Server: 3.10.5
  • Operating System: Redhat Enterprise 8
  • Deployment Method: SNAP
  • Number of Running Instances: 1
  • DB Replicaset Oplog:
  • NodeJS Version: v12.18.4
  • MongoDB Version: 3.6.14
  • Proxy: nginx
  • Firewalls involved:

Any additional Information

my current config

URL: https://login.microsoftonline.com/common/
Token Path: /oauth2/token
Token Sent Via: Header
Identity Token Sent Via: Same as “Token Sent Via”
Identity Path: /openid/userinfo
Authorize Path: /oauth2/authorize
Scope:openid
Param Name for access token: access_token
id:azure app id
secret: app secret
login style: popup