# Keycloak with Discourse

**URL:** <https://meta.discourse.org/t/keycloak-with-discourse/63139>\
**Category:** SSO\
**Created:** [Mai 22, 2017, 1:50 UTC](https://meta.discourse.org/t/keycloak-with-discourse/63139 "2017-05-22T13:50:41Z")\
**Posts on this page:** 1\
**Showing post:** 13

<div class="post-metadata">

**Author:** ![fefrei](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fefrei/32/119538_2.png) [@fefrei](https://meta.discourse.org/u/fefrei)\
**Post date:** [Mai 23, 2017, 11:37 UTC](https://meta.discourse.org/t/keycloak-with-discourse/63139/13 "2017-05-23T11:37:10Z")

</div>

Note that the `iframe` won’t work if Discourse is running on an unrelated domain, as browsers will consider these cookies to be third-party cookies 🍪

An alternative is to make sure that all links to the forum point to `/session/sso` while the user is authenticated in the parent site.

---

_[View the full topic](https://meta.discourse.org/t/keycloak-with-discourse/63139)._
