HOME > Development > Advanced OpenID Connect with Keycloak and Spring Security

Advanced OpenID Connect with Keycloak and Spring Security

  • Development
  • Mar 02, 2025
SynopsisAdvanced OpenID Connect with Keycloak and Spring Security, av...
Advanced OpenID Connect with Keycloak and Spring Security  No.1

Advanced OpenID Connect with Keycloak and Spring Security, available at $19.99, has an average rating of 4.5, with 99 lectures, 6 quizzes, based on 125 reviews, and has 1656 subscribers.

You will learn about Review of OAuth and OpenID Concepts for Social and Enterprise Applications Understanding Keycloak as an Identity and Access Management Provider Step-by-step use of Spring Security with Authorization Code with (and without) PKCE Step-by-step use of Spring Security with Client Credentials grant Step-by-step coding of OAuth 2 Clients, JWT and Opaque Resource Servers with Spring Security Designing Enterprise Authorization using Keycloak Scopes and Roles Hands On integration with Enterprise Okta SAML Identity Providers with Keycloak Hands On Identity Brokering using Keycloak with OpenID Connect using GitLab Handling Multiple Identity Providers in Spring Boot and Spring Security This course is ideal for individuals who are Hands-On Java developers who wants to build Enterprise Security with OAuth 2 and OpenID Connect or Java Developers and Architects who wants to learn Keycloak It is particularly useful for Hands-On Java developers who wants to build Enterprise Security with OAuth 2 and OpenID Connect or Java Developers and Architects who wants to learn Keycloak.

Enroll now: Advanced OpenID Connect with Keycloak and Spring Security

Summary

Title: Advanced OpenID Connect with Keycloak and Spring Security

Price: $19.99

Average Rating: 4.5

Number of Lectures: 99

Number of Quizzes: 6

Number of Published Lectures: 98

Number of Published Quizzes: 6

Number of Curriculum Items: 112

Number of Published Curriculum Objects: 111

Original Price: $39.99

Quality Status: approved

Status: Live

What You Will Learn

  • Review of OAuth and OpenID Concepts for Social and Enterprise Applications
  • Understanding Keycloak as an Identity and Access Management Provider
  • Step-by-step use of Spring Security with Authorization Code with (and without) PKCE
  • Step-by-step use of Spring Security with Client Credentials grant
  • Step-by-step coding of OAuth 2 Clients, JWT and Opaque Resource Servers with Spring Security
  • Designing Enterprise Authorization using Keycloak Scopes and Roles
  • Hands On integration with Enterprise Okta SAML Identity Providers with Keycloak
  • Hands On Identity Brokering using Keycloak with OpenID Connect using GitLab
  • Handling Multiple Identity Providers in Spring Boot and Spring Security
  • Who Should Attend

  • Hands-On Java developers who wants to build Enterprise Security with OAuth 2 and OpenID Connect
  • Java Developers and Architects who wants to learn Keycloak
  • Target Audiences

  • Hands-On Java developers who wants to build Enterprise Security with OAuth 2 and OpenID Connect
  • Java Developers and Architects who wants to learn Keycloak
  • Recent Updates :

  • Added Course Projectand 7 Assignments

  • All Spring Boot examples tested & updated with Spring Boot 3.2.5, Java 22& Keycloak 24.0.3

  • Added Supplementary sections for Cryptographyand Other Related Topics

  • How do we use OAuth and OpenID Connect in real world Enterprise applications? How do we handle multiple OpenID Connect Identity Providers ? How do we use Identity Brokers for integration with SAML and Social Providers like Google, GitLab or Facebook? How do we mix OpenID Connect and OAuth using multiple Providers at the same time?

    This course on OAuth and OpenID Connect builds on my previous course called Enterprise OAuth and OpenID Connectby using Keycloakas the Custom Identity Provider. Students will go through hands-on development using Keycloak, GitLab, Oktaand Spring Boot 3.x/Spring Security 6.x. Students are expected to have some knowledge of OAuth and Spring Boot.

    WHAT THE LEARNERS ARE SAYING:

    5 STARS– Viraj has excellent command over subject matter and is also great at teaching complex subject which is evident in this course. As a user of technologies mention in course including Keycloak at my job, I find this content extremely thorough and highly useful. Viraj has covered the topics in depth without making them boring (as one would find by reading RFCs). Congratulations and thanks to Viraj for producing another quality content!!

    5 STARS – Viraj is an amazing teacher walking through each step. Its a pleasure to be in his class.

    5 STARS – The course is detailed providing technical information. The instructor explains concepts in detail with supporting diagrams. Highly recommend this course for anyone interested in understanding concepts of OAuth and OpenID and step-by-step hands-on instructions.

    5 STARS – I like the detailed approach on explaining the basic concepts. Well done.

    5 STARS– Great presentation

    With the help of theory, plentiful Diagrams and code-centric content, students will learn the following.

  • Overview of OAuth and OpenID Connect for Enterprise and Social Applications

  • Protect OpenID Connect Applications using Scopes and Roles

  • Create OAuth Microservices (Resource Servers) secured with JWTand Opaque tokens

  • Learn how and when to use Client Credential grant type in Enterprise applications

  • Learn how to handle Multiple OpenID Connect Identity Providers in Spring Boot

  • Learn how to use Identity Brokers in Keycloak with Social Identity Providers like Google, GitLab, Facebook etc.

  • Learn how to use Identity Brokers for OpenID Connect and SAML Integration

  • Learn how to  mix OAuth and OpenID Connect with Multiple Identity providers at the same time

  • Understand about Cryptographic Hashing, Encryption and Digital Signaturesusing openssl

  • Using a Course Project and Assignments, students will get Hands-On practice to implement all that is learnt in the sections.

  • This course will take you to the next level in your understanding of Authentication and Authorization. Not only do we learn about real life OAuth and OpenID Connect programming but also the architectural Authentication/Authorization blueprints for an enterprise which will guarantee to make you an expert. There is a wealth of Information here; don’t miss it.

    REMEMBER… I’m so confident that you’ll love this course that we’re offering a FULL money-back guarantee for 30 days! So it’s a complete no-brainer, sign up today with ZERO risk and EVERYTHING to gain.

    Course Curriculum

    Chapter 1: Introduction to Keycloak

    Lecture 1: Architecture Diagrams

    Lecture 2: Keycloak Overview

    Lecture 3: Keycloak Installation and Setup

    Lecture 4: Postgres Installation and setup

    Lecture 5: Keycloak Postgres Setup

    Lecture 6: Notes on Keycloak and Postgres setup

    Chapter 2: OAuth and OpenID Connect in a Nutshell

    Lecture 1: Section Introduction

    Lecture 2: OAuth Actors

    Lecture 3: Clients and Scopes

    Lecture 4: Access Tokens and Endpoints

    Lecture 5: Authorization Code and Refresh Token Grants

    Lecture 6: Implicit Grant and PKCE

    Lecture 7: Client Credential and Password Grants

    Lecture 8: Third Party Versus First Party Application

    Lecture 9: OpenID Connect

    Lecture 10: Enterprise OpenID Connect and Roles

    Lecture 11: RFC Documentation Links

    Chapter 3: Keycloak – OAuth Authorization with Scopes

    Lecture 1: Introduction – Project BugTracker

    Lecture 2: BugTracker Demonstration

    Lecture 3: BugTracker Keycloak Setup

    Lecture 4: BugTracker Design

    Lecture 5: Spring Security – OAuth Authentication

    Lecture 6: BugTracker Service

    Lecture 7: BugTracker OpenID Connect Configuration

    Lecture 8: Spring Security – Authorized Client

    Lecture 9: BugTracker Controller

    Lecture 10: BugTracker with Authorization Code Grant

    Lecture 11: BugTracker with PKCE

    Lecture 12: BugTracker Authorization using Scopes

    Lecture 13: Documentation links and Downloads for section

    Lecture 14: JAUBS – Course Project Explanation

    Lecture 15: Solution for Assignment 1

    Chapter 4: Keycloak – Roles and Multiple Identity Providers

    Lecture 1: Section Introduction

    Lecture 2: Keycloak Mapper – Adding Roles claim

    Lecture 3: BugTracker Authorization using Roles

    Lecture 4: Note about running BugTracker with Roles

    Lecture 5: Solution for Assignment 2

    Lecture 6: Handling Multiple Identity Providers

    Lecture 7: Client Registration in GitLab

    Lecture 8: Spring Security and Multiple Identity Providers

    Lecture 9: Customizing Authorities

    Lecture 10: Problems with Multiple Identity Providers

    Lecture 11: Download final BugTracker ZIP file for section

    Chapter 5: Keycloak – OAuth and Microservices

    Lecture 1: Section Introduction

    Lecture 2: Creating an OAuth JWT Microservice (Resource Server)

    Lecture 3: Spring Security – Resource Server

    Lecture 4: Calling an OAuth Microservice

    Lecture 5: Using Introspection Endpoint

    Lecture 6: Multiple Identity Provider problem

    Lecture 7: Enterprise Schedulers and Client Credentials Grant

    Lecture 8: Client Credentials in Keycloak

    Lecture 9: BugTracker Scheduler using Client Credentials

    Lecture 10: Documentation links and Downloads for section

    Chapter 6: Keycloak – Authentication Identity Brokers

    Lecture 1: Introduction to Identity Brokers

    Lecture 2: Identity Broker HTTP Message Flow

    Lecture 3: Setting up Gitlab Identity Provider in Keycloak

    Lecture 4: BugTracker Identity Broker Integration

    Lecture 5: SAML Overview

    Lecture 6: OpenID Connect and SAML Integration

    Lecture 7: BugTracker SAML Usecase

    Lecture 8: BugTracker SAML Integration with Okta

    Lecture 9: Creating an Okta Developer Account

    Lecture 10: BugTracker Global Logout with Okta

    Lecture 11: SAML Identity Provider – Assertion Encryption

    Lecture 12: SAML Identity Provider – Setting User Attributes

    Lecture 13: Documentation links and Downloads for section

    Chapter 7: Keycloak – OAuth and OpenID Connect together

    Lecture 1: Handling Multiple Authorization Servers Simultaneously

    Lecture 2: Spring Security configuration for OAuth

    Lecture 3: Accessing GitLab Resource Server

    Lecture 4: Spring Security – oauth2Login versus oauth2Client

    Lecture 5: Fixing the Login Page

    Lecture 6: Documentation links and Downloads for section

    Chapter 8: Conclusion

    Lecture 1: Conclusion

    Lecture 2: Documentation Links

    Lecture 3: Bonus Lecture

    Chapter 9: Supplementary Section – Cryptography Basics

    Lecture 1: Section Introduction

    Lecture 2: Cryptography Theory and Practice

    Lecture 3: URL Encoding

    Instructors

  • Advanced OpenID Connect with Keycloak and Spring Security  No.2
    Viraj Shetty
    Senior Solutions Architect
  • Rating Distribution

  • 1 stars: 2 votes
  • 2 stars: 1 votes
  • 3 stars: 6 votes
  • 4 stars: 41 votes
  • 5 stars: 76 votes
  • Frequently Asked Questions

    How long do I have access to the course materials?

    You can view and review the lecture materials indefinitely, like an on-demand channel.

    Can I take my courses with me wherever I go?

    Definitely! If you have an internet connection, courses on Udemy are available on any device at any time. If you don’t have an internet connection, some instructors also let their students download course lectures. That’s up to the instructor though, so make sure you get on their good side!