Actually had to set this up today for a test:
-
Create application in auth0
-
Set callback url: /_oauth/ (also found at top of the oauth section)
-
Take client_id and client_secret and set them in Rocket.Chat along with the settings the following way:
Key being:
URL: This is your tenant url in auth0
Token Path: /oauth/token
Token Sent Via: Payload
Identity Token Sent Via: Payload
Identity Path: /userinfo
Authorize Path: /authorize
Username: nickname