Keycloak : Single Sign On with Spring Boot & Spring Security (Udemy.com)
Single Sign On (SSO) with Java Spring Framework & Spring Security. Learn Identity and Access Management (IAM) & Keycloak
Created by: Infybuzz Learning
Last updated September 2025
What you will learn
- Single Sign On (SSO) with Keycloak & Spring Boot
- Keycloak Server
- Authentication & Authorization with Keycloak & Spring Boot
- Basics Of Spring Security & Thymeleaf
How it compares
Against the other 1,182 rated Udemy courses in IT & Software on CourseDuck:
- Rating4.2 out of 5higher than 13% of them
- Reviews1,441#313 of 1,183 by number of reviews
- Length3.2 hoursshorter than 69% of them
- Last updatedSeptember 2025more recently than 55% of them
Course Description
In this course you will learn Keycloak which is an open source software product to allow single sign-on with Identity and Access Management aimed at modern applications.
With Keycloak you can centrally manage all your users at once place along with Roles. From User's perspective they do not need to login for each application. Login once and access all applications under that organization. That's why it is called as Single Sign On (SSO).
In this course you will learn Single Sign On (SSO) with Keycloak with Spring Boot & Spring Security. Also you will learn Role based Authorization with Keycloak.
Now a days Spring framework is widely used among Java Developers and specifically Spring Boot is in high demand. So this course covers SSO with Spring Boot and Spring Security.
First you we will get started with basics of Authentication & Authorization. After that will jump to Keycloak.
To work with Keycloak you need to have basic knowledge of Spring Security & Thymeleaf. If you do not have that then do not worry because I am covering basics of Spring Security & Thymeleaf in this course.
Keycloak provides adapter that we can integrate with Spring Security in our Spring Boot application. That's what we are going to use in this course. We will be having two Spring Boot apps with which we will implement Single Sign On (SSO).
Keycloak can be configured with several SQL databases and in this course we will use MySQL to be used with Keycloak.
Course Topics & Lectures :-
• Basics of Authentication & Authorization
What is Authentication & Authorization ?
What is Single Sign On (SSO) ?
Introduction To Keycloak
Keycloak Installation
• Basics of Spring Security & Thymeleaf
Introduction to Spring Security & Thymeleaf
Setting Up Spring Boot App
Spring Data JPA with MySQL
Login Page with Spring Security
Spring Security Configuration
Usage of UserDetailsService
Password Encoder with Spring Security
User Home Page with Thymeleaf
Spring Security In Action
Authorization with Spring Security
Access Denied Page with Spring Security
Logout with Spring Security
• Getting Started with Keycloak
Why Keycloak ? Problem Statement
Running Keycloak
Setting Up MySQL for Keycloak
MySQL Drivers for Keycloak
MySQL as Datasource for Keycloak
Keycloak with MySQL In Action
Change Port of Keycloak Server
• Exploring Keycloak
Keycloak Admin Console
What is Realm & Client In Keycloak ?
Create Realm & Clients
Create Users with Keycloak
Assign Roles to Users with Keycloak
• Keycloak with Spring Boot & Spring Security
Configure Keycloak with Spring Boot
Keycloak Configuration with Spring Security
Keycloak In Action
Preparing Second App In Same Manner
Single Sign On (SSO) In Action
Logout with Keycloak
Instructor Details
- 4.2 Rating
1,441 Reviews
Infybuzz Learning
I always want to teach new things to students around the world. I believe that the more knowledge we share the more knowledge we gain.
I provide courses on Java, Spring, Spring Boot, Spring Cloud, Spring Batch, Spring Security, REST API, Microservices, Hibernate, Spring Data JPA, RabbitMQ, MongoDB (NoSQL), GraphQL, Pivotal Cloud Foundry, Heroku, Neo4j Graph Database, Spring WebFlux, Reactive Programming, Keycloak.
Having 113,000+ students around the world with reach to 170 countries.
Enrol in the courses and boost your technical skills.
Happy Learning & Happy Coding.
More courses by Infybuzz Learning
Microservices with Java Spring Boot and Spring Cloud (2025)
4.5 (6,130 Reviews)
Provider: Udemy
Time: 4h
$84.99
GraphQL API with Java Spring Boot & Spring Framework (2025)
4.3 (3,511 Reviews)
Provider: Udemy
Time: 5.2h
$64.99
MongoDB with Java Spring Boot & Spring Framework (2025)
4.4 (3,324 Reviews)
Provider: Udemy
Time: 4.2h
$69.99
Batch Processing with Spring Batch & Spring Boot (2025)
4.6 (3,184 Reviews)
Provider: Udemy
Time: 7.8h
$84.99
RabbitMQ : Messaging with Java, Spring Boot And Spring MVC (2025)
4.7 (2,455 Reviews)
Provider: Udemy
Time: 4h
$99.99
Build REST API with Spring Boot & Spring Data JPA (2026)
4.6 (1,996 Reviews)
Provider: Udemy
Time: 7.8h
$79.99
More IT & Software courses
D3.js Data Visualization Fundamentals - Hands On (2026)
4.9 (3,917 Reviews)
Provider: Udemy
Time: 4.6h
$49.99
Hands-On Training: Streaming Data with Apache Kafka on Azure (2025)
4.9 (103 Reviews)
Provider: Udemy
Time: 3.7h
$10.99
Oracle Grid Infrastructure and RAC using Oracle Database 19c (2026)
4.8 (2,499 Reviews)
Provider: Udemy
Time: 8.7h
$19.99
PowerShell Scripting & Automation: The Complete Hands-On (2026)
4.8 (1,750 Reviews)
Provider: Udemy
Time: 9.6h
$11.99
AWS EC2 Crash Course + Load Balancing with Demos and PDFs (2025)
4.8 (866 Reviews)
Provider: Udemy
Time: 3.7h
$19.99
Reviews
By Ahmed Mohamed Ahmed Attya on 10/22/2024
I give 3 stars because for me as DevOps engineer, this course didn't give me more details in Keycloak so this course not related to me. also as i am not developer i missed a lot of info in code sections third, this course is too old you use version 15 and now 26 so it took much time for me to handle this. but overall it is good start in keycloak
By Peter Imhoff on 10/20/2024
Well compressed form with nice minimal examlple to get the essentials. Every step is well explained. Normally I left the course because of the accent, which is hard to understand for a nonnative but the content catched me. Maybe you could update the examples to latest spring-boot and keycloak versions, as you cannot even download the keycloak version mentioned in the course any more.
By Boni Emmanuel N'DA on 10/3/2023
An exceptional course! Infybuzz Learning's "Keycloak: Single Sign-On with Spring Boot & Spring Security" course is simply amazing. The explanations are clear, the practical examples are relevant, and the instructor demonstrates outstanding expertise. I was able to master the integration of Keycloak into Spring Boot applications through this course. The teaching approach is precise and well-structured, making learning enjoyable and effective. I highly recommend this course to developers looking to enhance their skills in security and Single Sign-On. Well-deserved five stars!"
By Artur Shamrin on 9/1/2022
Pros: The course gives you some basic knowledge about keacloak so you can kick it off. The instructor has good explanaition skills. Cons: Some information is outdated (like using websecurconfigurer and keacloak by wildfrly which are both marked as deprecated now). Didn't like the lection which starts like some tv series with 'in previous episode' for those who skipped section about Spring Security. Had to fast forward without knowing where to stop. Again it's enough info to only start with keycloak, not to master it
By Metin Kagit on 8/31/2022
Thank you for this beautiful course, it's really helpful for understanding SSO by using spring boot and Keycloak. But also it have some negative way, some topic are deprecated like WebSecurityConfigurerAdapter and Keycloak WildFly so It would be much more efficient and helpful if the course was updated.
By Neji Ghazouani on 8/31/2022
Nice course but I think you should have adden how you logout after you login with Keycloak,,
By Bruno HUDBERT on 8/14/2022
Tres bon cours J'aurais aimé en plus avoir la même chose avec Spring Boot en tant qu'API Restfull mais c'est deja top
By Elyasin Shaladi on 5/15/2022
The course offers a hands on training about how to set up Keycloak for two web applications. The course is a bit outdated. However, I used the latest Keycloak and MySql and had little issues (I am experienced in IT). I wish the explanations in Chapter 7 could be more elaborate. Following the course shows by example, but I feel it does not enable you to be autonomous or explore by yourself different scenarios so easily.
By Arthur Vinicius Santos Silva on 4/14/2022
I like it too much. I learn about sping boot security and how Keycloak optimze this service. This couse don't incluide implementation os SPI on Keycloak, you will be learn how to use this tool with your java application. The instructor speak clean and same I live on Brazil and don't speak english, I can undestand de lectures. Thanks.
By Anonymized User on 3/25/2022
The course is interesting showing the basics to start using a spring boot application with keycloak. I would suggest updating the content with the newer versions of keycloak as it works with quarkus instead of wildfly and the configuration to start another databse seems different.
Quality Score
No CourseDuck member has rated this course yet. Taken it? Give each part a thumbs up or down.
Overall Score : 84 / 100












