# ADFS SAML Integration - Problem with "LogoutRequest"

**URL:** <https://forums.rocket.chat/t/adfs-saml-integration-problem-with-logoutrequest/13943>\
**Category:** Community Support\
**Tags:** rocketchat-apps\
**Created:** [April 24, 2022, 6:22am UTC](https://forums.rocket.chat/t/adfs-saml-integration-problem-with-logoutrequest/13943 "2022-04-24T06:22:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rc8d](https://avatars.discourse-cdn.com/v4/letter/r/6de8d8/32.png) [@rc8d](https://forums.rocket.chat/u/rc8d)\
**Post date:** [April 24, 2022, 6:22am UTC](https://forums.rocket.chat/t/adfs-saml-integration-problem-with-logoutrequest/13943/1 "2022-04-24T06:22:32Z")

</div>

Hello,

I have followed the official doc and several posts in trying to get ADFS with SAML operational. I can successfully achieve a login, however, I cant get a successful logout.

The issue occurs when you logout of RC web. You are presented with a login page but hitting the back button on any web browser logs the user back in without going through the authentication process.

The issue described above relates to the logout function described by [Guile17] under issue #17919. I have applied the same config, but the issue persists. I have a feeling it relates to the either “Transform rules” or certificates under ADFS but am not 100% certain.

Wondering if anyone has a working ADFS with SAML and is willing to share their configuration? I’d like to rule out any mistakes i have made.

Any help or pointers will be greatly appreciated.

**Server Setup Information**

- Version of Rocket.Chat Server: 4.6.2
- Operating System: Ubuntu 20.4
- Deployment Method: 
- Number of Running Instances: 1
- DB Replicaset Oplog: wiredTiger (oplog Enabled)
- NodeJS Version: v14.18.3
- MongoDB Version: 4.2.17
- Firewalls involved: N/A

---

<div class="post-metadata">

**Author:** ![rc8d](https://avatars.discourse-cdn.com/v4/letter/r/6de8d8/32.png) [@rc8d](https://forums.rocket.chat/u/rc8d)\
**Post date:** [April 24, 2022, 6:23am UTC](https://forums.rocket.chat/t/adfs-saml-integration-problem-with-logoutrequest/13943/2 "2022-04-24T06:23:10Z")

</div>

**Official Doc**

> **[Active Directory Federation Services](https://docs.rocket.chat/guides/administration/settings/saml/active-directory-federation-services)**
>
> Authenticating Rocket.Chat and Microsoft ADFS via SAML

**Github issues and solutions**

> <https://github.com/RocketChat/Rocket.Chat/issues/17919>
>
> @pierre-lehnen-rc
> The first image is the error event that appears on my ADFS. T…he second one is the request from RC.
> I have no idea what the NameQualifier value is on the error.
> 
> !\[image\](https://user-images.githubusercontent.com/58185841/84677755-2ccfdb80-aefd-11ea-96bb-d26285c41260.png)
> !\[image\](https://user-images.githubusercontent.com/58185841/84677770-30636280-aefd-11ea-825b-0127df3d4d10.png)

---

<div class="post-metadata">

**Author:** ![rc8d](https://avatars.discourse-cdn.com/v4/letter/r/6de8d8/32.png) [@rc8d](https://forums.rocket.chat/u/rc8d)\
**Post date:** [April 24, 2022, 6:23am UTC](https://forums.rocket.chat/t/adfs-saml-integration-problem-with-logoutrequest/13943/3 "2022-04-24T06:23:56Z")

</div>

**Official Doc**

> <https://github.com/abrom/Rocket.Chat-docs/blob/master/guides/administrator-guides/authentication/saml/active-directory-federation-services.md>

**Github issues and solutions**

> <https://github.com/RocketChat/Rocket.Chat/issues/2770>
>
> Your Rocket.Chat version: 0.24.0
> 
> how can i configure rocket chat with ADFS... …
> what are the cleam rule that i need to create in the adfs server ?
> 
> thanks 
> 
> assaf
