# Discourse with Keycloak for SSO

**URL:** <https://meta.discourse.org/t/discourse-with-keycloak-for-sso/152922>\
**Category:** Development\
**Created:** [May 27, 2020, 8:59am UTC](https://meta.discourse.org/t/discourse-with-keycloak-for-sso/152922 "2020-05-27T08:59:35Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![AAverin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/aaverin/32/181948_2.png) [@AAverin](https://meta.discourse.org/u/AAverin)\
**Post date:** [May 27, 2020, 9:24am UTC](https://meta.discourse.org/t/discourse-with-keycloak-for-sso/152922/5 "2020-05-27T09:24:54Z")

</div>

So let’s say that I at first want to access everything via API. Will I still be able to?  
Login is Discourse UI part.

Let’s say a new user registers on my Keycloak server and I have this SAML integration. User is logged in in my JS web-app and I have his token. Will I be able to somehow call Discourse API using just this token?  
That is if I want to have a custom UI creating Posts from my web-app.

---

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