Skip to content
UdemyIT & SoftwarePaid courseAll LevelsCertificate

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

icon
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

icon
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 

icon
Udemy Discount

The discount is applied through our link. Open the course from here and Udemy's current promotional price is applied at checkout on most courses, no code to type.

Some courses are excluded from Udemy's promotions. If the price does not drop, clear your browser cookies and use the button again.

icon
Instructor Details

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.

icon
More courses by Infybuzz Learning

$84.99

$64.99

$69.99

$84.99

$99.99

$79.99

icon
More IT & Software courses

$49.99

$10.99

$124.99

$19.99

$11.99

$19.99

icon
Reviews

4.2

1,441 ratings on Udemy

Select a bar to show only those reviews.Select the bar again to show every rating.

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.

Showing all 10 reviews on CourseDuck

Read all 1,441 reviews on Udemy

icon
Quality Score

No CourseDuck member has rated this course yet. Taken it? Give each part a thumbs up or down.

Content Quality
/
Video Quality
/
Qualified Instructor
/
Course Pace
/
Course Depth & Coverage
/

Overall Score : 84 / 100