# Build Spring Boot, SAML, and Keycloak application

**URL:** <https://forum.keycloak.org/t/build-spring-boot-saml-and-keycloak-application/13383>\
**Category:** Getting advice\
**Created:** [February 2, 2022, 12:13pm UTC](https://forum.keycloak.org/t/build-spring-boot-saml-and-keycloak-application/13383 "2022-02-02T12:13:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kumar](https://avatars.discourse-cdn.com/v4/letter/k/9f8e36/32.png) [@Kumar](https://forum.keycloak.org/u/Kumar)\
**Post date:** [February 2, 2022, 12:13pm UTC](https://forum.keycloak.org/t/build-spring-boot-saml-and-keycloak-application/13383/1 "2022-02-02T12:13:04Z")

</div>

Hi All,  
How can I build a Spring Boot application that leverages Keycloak’s Platform API for authentication via SAML.

Thanks,  
Kumar

---

<div class="post-metadata">

**Author:** ![xgp](https://yyz2.discourse-cdn.com/free1/user_avatar/forum.keycloak.org/xgp/32/2589_2.png) [@xgp](https://forum.keycloak.org/u/xgp)\
**Post date:** [February 2, 2022, 12:43pm UTC](https://forum.keycloak.org/t/build-spring-boot-saml-and-keycloak-application/13383/2 "2022-02-02T12:43:19Z")

</div>

> **[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?
