# SAML2 Bearer Assertion

**URL:** <https://forum.keycloak.org/t/saml2-bearer-assertion/5746>\
**Category:** Configuring the server\
**Created:** [November 3, 2020, 2:42pm UTC](https://forum.keycloak.org/t/saml2-bearer-assertion/5746 "2020-11-03T14:42:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![igkouv](https://avatars.discourse-cdn.com/v4/letter/i/f9ae1b/32.png) [@igkouv](https://forum.keycloak.org/u/igkouv)\
**Post date:** [November 3, 2020, 2:42pm UTC](https://forum.keycloak.org/t/saml2-bearer-assertion/5746/1 "2020-11-03T14:42:40Z")

</div>

Hello,

I was trying to find documentation about how to implement SAML2 Bearer(more specifically in java) but I have not found anything.

Does Keycloak support SAML2 Bearer Token?  
If yes, where can I find the documentation?

Regards,  
Giannis

---

<div class="post-metadata">

**Author:** ![pkadian](https://yyz2.discourse-cdn.com/free1/user_avatar/forum.keycloak.org/pkadian/32/1354_2.png) [@pkadian](https://forum.keycloak.org/u/pkadian)\
**Post date:** [November 3, 2020, 4:22pm UTC](https://forum.keycloak.org/t/saml2-bearer-assertion/5746/2 "2020-11-03T16:22:24Z")

</div>

These blogs can help you,

[https://support.sisense.com/hc/en-us/articles/360036066074-Setting-Up-SSO-SAML-2-0-With-Keycloak](https://support.sisense.com/hc/en-us/articles/360036066074-Setting-Up-SSO-SAML-2-0-With-Keycloak)

> **[How to secure a Spring Boot app with SAML and Keycloak](https://www.codecentric.de/wissens-hub/blog/secure-spring-boot-app-saml-keycloak)**
>
> Using Keycloak with Spring Boot apps only takes a few lines of code. But how to secure your Spring Boot app using SAML?
