Keycloak SSO oAuth

Description

We use Keycloak on another server to login into our systems so also we want to use it for rocketchat.
I followed the article to connect Keycloak and rocket chat.
But now when I want to login via Keycloak I get redirected to the login screen.
I hope some one can help me to fix this.

Server Setup Information

  • Version of Rocket.Chat Server: 3.12.1
  • Operating System: Debian 10
  • Deployment Method: snap
  • Number of Running Instances: 1
  • DB Replicaset Oplog:
  • NodeJS Version: v12.18.4
  • MongoDB Version: 3.6.14 / wiredTiger
  • Proxy: Nginx
  • Firewalls involved: no

Any additional Information

Keycloak Settings


Client Authenticator: Client Id and Secret
Mappers:

  • Name: roles
  • Type: User Client role