# How to Integrate the Rocket chat with keycloak

**URL:** <https://forums.rocket.chat/t/how-to-integrate-the-rocket-chat-with-keycloak/12552>\
**Category:** Community Support\
**Created:** [November 9, 2021, 6:23am UTC](https://forums.rocket.chat/t/how-to-integrate-the-rocket-chat-with-keycloak/12552 "2021-11-09T06:23:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![arunodhayam](https://avatars.discourse-cdn.com/v4/letter/a/6de8d8/32.png) [@arunodhayam](https://forums.rocket.chat/u/arunodhayam)\
**Post date:** [November 9, 2021, 6:23am UTC](https://forums.rocket.chat/t/how-to-integrate-the-rocket-chat-with-keycloak/12552/1 "2021-11-09T06:23:14Z")

</div>

Hi guys!  
I am using rocket chat by the docker, also I have keycloak with docker. My rocket chat hosted under [https://rocketchat.com](https://rocketchat.com) and my keycloak hosted under the [https://keycloak.com](https://keycloak.com)  
I want integrate the rocket chat with keycloak.  
but I can’t integrate it.

**keycloak configurations**

1. Provide a client ID: `rocket-chat-client
2. Select the client protocol as openid-connect
3. Select the client access type as confidential
4. Standard flow implemented: ON  
5.Valid Redirect URL: `https:rocketchat.com/*`

**Rocketchat Configurations**

1. URL: `https://keycloak.com/auth
2. Token Path: `/realms/{realm_name}/protocol/openid-connect/token`
3. Token sent via Header
4. Identity Token Sent Via: Same As “Token Sent Via”
5. Identity Path : `/realms/{realm_name}/protocol/openid-connect/userinfo`
6. Authorize Path: `/realms/{realm_name}/protocol/openid-connect/auth`
7. Scope: `openid`
8. Param Name for access token: `access_token`
9. Id: This is the id of the Rocket.Chat client created in the keycloak `rocket-chat-client`
10. Secret: Secret key provided in the credentials tab when creating the Rocket.Chat client
11. Button Text: `Login with Keycloak`

Please help with this
