# Chatflow Bot doesn't return SSO required articles from KB for users Identified with Visitor API

**URL:** <https://community.hubspot.com/t/chatflow-bot-doesnt-return-sso-required-articles-from-kb-for-users-identified-with-visitor-api/121569>\
**Category:** APIs & Integrations\
**Tags:** developer-tools\
**Created:** [November 28, 2024, 10:11am UTC](https://community.hubspot.com/t/chatflow-bot-doesnt-return-sso-required-articles-from-kb-for-users-identified-with-visitor-api/121569 "2024-11-28T10:11:27Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![JarAdamczyk](https://avatars.discourse-cdn.com/v4/letter/j/e19adc/32.png) [@JarAdamczyk](https://community.hubspot.com/u/JarAdamczyk)\
**Post date:** [November 28, 2024, 10:11am UTC](https://community.hubspot.com/t/chatflow-bot-doesnt-return-sso-required-articles-from-kb-for-users-identified-with-visitor-api/121569/1 "2024-11-28T10:11:27Z")

</div>

Hello! We have Knowledge Base with Access Control: SSO required. We’ve set it up correctly and SSO is working fine. We’ve configured Chatflow Bot with Knowledge Base Lookup. We use Verification API to identify users, but Chatflow widget is used on a page with different domain. KB has knowledge.domain and Chatflow is used on app.domain.

Chatflow Bot is not able to return any private articles. It works fine with Public articles or when Chatflow Bot is used directly on a Knowledge Base page with SSO. I found this thread with a literally identical issue: [Slack](https://hubspotdev.slack.com/archives/C2YHAHB6K/p1712779102953069)  
Can someone confirm that Chatflow Bot is not able to return articles hidden behind SSO on a page without SSO, even with the identified user? Thanks!

---

<div class="post-metadata">

**Author:** ![Berangere](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/berangere/32/220784_2.png) [@Berangere](https://community.hubspot.com/u/Berangere)\
**Post date:** [November 28, 2024, 5:09pm UTC](https://community.hubspot.com/t/chatflow-bot-doesnt-return-sso-required-articles-from-kb-for-users-identified-with-visitor-api/121569/2 "2024-11-28T17:09:19Z")

</div>

Hi @JarAdamczyk and welcome, we are so happy to have you here!  
Thanks for asking the Community and thanks for sharing the link to the HubSpot Developers slack channel!  
I’ll check internally on this for you and will get back as soon as possible.  
Thanks for your patience!  
Have a great day!  
Best,  
Bérangère

---

<div class="post-metadata">

**Author:** ![JarAdamczyk](https://avatars.discourse-cdn.com/v4/letter/j/e19adc/32.png) [@JarAdamczyk](https://community.hubspot.com/u/JarAdamczyk)\
**Post date:** [December 1, 2024, 8:26pm UTC](https://community.hubspot.com/t/chatflow-bot-doesnt-return-sso-required-articles-from-kb-for-users-identified-with-visitor-api/121569/3 "2024-12-01T20:26:21Z")

</div>

[@BérangèreL](https://community.hubspot.com/t5/user/viewprofilepage/user-id/230185)  
Hello again!  
I just wanted to provider a little more context. Maybe it could be helpful for your dev team.  
I loaded Chatflow with provided IdentificationToken (once again user is identified properly) on a KB page with SSO and it stopped working. It couldn’t return any private content results. Looks like using IdenficationToken is a problem here.

---

<div class="post-metadata">

**Author:** ![Berangere](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/berangere/32/220784_2.png) [@Berangere](https://community.hubspot.com/u/Berangere)\
**Post date:** [December 2, 2024, 3:27pm UTC](https://community.hubspot.com/t/chatflow-bot-doesnt-return-sso-required-articles-from-kb-for-users-identified-with-visitor-api/121569/4 "2024-12-02T15:27:53Z")

</div>

Hi @JarAdamczyk and thanks for the additional information!  
Thanks for your patience!  
After checking with the Team, it’s likely because the \_\_hsmem cookie does not log a user in across domains.  
I hope this helps!  
Have a nice day!  
Best,  
Bérangère

---

<div class="post-metadata">

**Author:** ![JarAdamczyk](https://avatars.discourse-cdn.com/v4/letter/j/e19adc/32.png) [@JarAdamczyk](https://community.hubspot.com/u/JarAdamczyk)\
**Post date:** [December 2, 2024, 3:35pm UTC](https://community.hubspot.com/t/chatflow-bot-doesnt-return-sso-required-articles-from-kb-for-users-identified-with-visitor-api/121569/5 "2024-12-02T15:35:14Z")

</div>

Thank you for your reply! But is it by design? Does it mean that Chatflow identified with Visitor API won’t get an access to private articles?

---

<div class="post-metadata">

**Author:** ![Berangere](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/berangere/32/220784_2.png) [@Berangere](https://community.hubspot.com/u/Berangere)\
**Post date:** [February 13, 2025, 2:35pm UTC](https://community.hubspot.com/t/chatflow-bot-doesnt-return-sso-required-articles-from-kb-for-users-identified-with-visitor-api/121569/6 "2025-02-13T14:35:19Z")

</div>

Hi @JarAdamczyk, thanks for your message.  
I’d like to share this article for information: “[Chat with logged in visitors](https://knowledge.hubspot.com/chatflows/chat-with-logged-in-visitors)”.  
Also, I would recommend **connecting with HubSpot Technical Support** , as Support is included in your subscription and they will be able to provide real-time assistance for this matter, including hopping on a screenshare if necessary.  
The Support Team will be able to look into the chatflow if needed.  
Thank you and have a great day!  
Best,  
Bérangère
