Advanced OpenID Connect with Keycloak and Spring Security

Step-by-Step OAuth, OpenID Connect with Keycloak, GitLab, JWT, Multi Identity Providers, Identity Broker and Spring Boot

  • 0.0 (0 Reviews)
  • 0 Students
  • 111 Lessons
  • Viraj Shetty

Course Overview

Recent Updates :

  • All Spring Boot examples tested & updated with Spring Boot 3.5.9, Java 25 & Keycloak 26.5.0

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 Connect by using Keycloak as the Custom Identity Provider. Students will go through hands-on development using Keycloak, GitLab, Okta and Spring Boot 3.5.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 JWT and 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 Signatures using 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.


See more

FAQ

FAQ area empty

Course curriculum

10 chương 111 bài học 9 giờ 40 phút 7 bài học thử miễn phí
Chương 1 Introduction to Keycloak
Chương 2 OAuth and OpenID Connect in a Nutshell
Chương 3 Keycloak - OAuth Authorization with Scopes
  • Introduction - Project BugTracker 4:52
  • BugTracker Demonstration 6:15
  • BugTracker Keycloak Setup 9:04
  • BugTracker Design 4:01
  • Spring Security - OAuth Authentication
  • BugTracker Service 12:56
  • BugTracker OpenID Connect Configuration 9:45
  • Spring Security - Authorized Client
  • BugTracker Controller 15:03
  • BugTracker with Authorization Code Grant 10:59
  • BugTracker with PKCE 10:43
  • BugTracker Authorization using Scopes 16:07
  • Documentation links and Downloads for section
  • Authorization with Scopes
  • JAUBS - Course Project Explanation 16:05
  • JAUBS - Protecting application using OpenID Connect
  • Solution for Assignment 1 18:47
Chương 4 Keycloak - Roles and Multiple Identity Providers
  • Section Introduction 1:29
  • Keycloak Mapper - Adding Roles claim 3:45
  • BugTracker Authorization using Roles 7:54
  • Note about running BugTracker with Roles
  • JAUBS - Protecting Application using Roles
  • Solution for Assignment 2 6:45
  • Handling Multiple Identity Providers 3:48
  • Client Registration in GitLab 4:44
  • Spring Security and Multiple Identity Providers 8:06
  • Customizing Authorities 5:25
  • Problems with Multiple Identity Providers 4:32
  • Download final BugTracker ZIP file for section
  • Spring Security and Multiple Identity Providers
  • JAUBS - External Identity Providers with Spring Boot
Chương 5 Keycloak - OAuth and Microservices
  • Section Introduction 1:19
  • Creating an OAuth JWT Microservice (Resource Server) 10:55
  • Spring Security - Resource Server
  • Calling an OAuth Microservice 8:44
  • Using Introspection Endpoint 9:32
  • Multiple Identity Provider problem 4:39
  • Enterprise Schedulers and Client Credentials Grant 3:12
  • Client Credentials in Keycloak 5:10
  • BugTracker Scheduler using Client Credentials 9:00
  • Documentation links and Downloads for section
  • OAuth Microservices
  • JAUBS - Refactor code by creating a Bookstore REST API
Chương 6 Keycloak - Authentication Identity Brokers
  • Introduction to Identity Brokers 6:46
  • Identity Broker HTTP Message Flow 4:35
  • Setting up Gitlab Identity Provider in Keycloak 4:44
  • BugTracker Identity Broker Integration 7:26
  • JAUBS - Setup Keycloak as Identity Broker for Google and GitLab
  • SAML Overview 5:26
  • OpenID Connect and SAML Integration 5:12
  • BugTracker SAML Usecase 3:41
  • BugTracker SAML Integration with Okta 19:11
  • Creating an Okta Integrator Account
  • BugTracker Global Logout with Okta 12:09
  • SAML Identity Provider - Assertion Encryption 7:33
  • SAML Identity Provider - Setting User Attributes 9:38
  • Documentation links and Downloads for section
  • Authentication Identity Brokers
  • JAUBS - Setup Keycloak as Identity Broker for Okta/SAML Integration
Chương 7 Keycloak - OAuth and OpenID Connect together
  • Handling Multiple Authorization Servers Simultaneously 4:11
  • Spring Security configuration for OAuth 11:14
  • Accessing GitLab Resource Server 2:45
  • Spring Security - oauth2Login versus oauth2Client
  • Fixing the Login Page 5:16
  • Documentation links and Downloads for section
  • OAuth and OpenID Connect together
  • JAUBS - Add pure OAuth functionality
Chương 8 Conclusion
  • Conclusion 1:59
  • Documentation Links
  • Bonus Lecture
Chương 9 Supplementary Section - Cryptography Basics
  • Section Introduction 1:35
  • Cryptography Theory and Practice
  • URL Encoding 2:40
  • Base64 Encoding 2:15
  • Cryptographic Hashing 4:32
  • Symmetric Encryption 3:27
  • Asymmetric Encryption 7:25
  • Hybrid Encryption 4:34
  • Digital Signatures 5:13
  • Openssl - Base64, URL Encoding and Hashing Demonstration 10:39
  • Openssl - Symmetric Encryption Demonstration 4:56
  • Openssl - Asymmetric Encryption Demonstration 8:23
  • Openssl - Hybrid Encryption Demonstration 5:38
  • Openssl - Digital Signature Demonstration 5:20
Chương 10 Supplementary Section - Other Related Topics
  • Section Introduction 1:22
  • Enterprise Versus OAuth Authorization 5:06
  • OAuth Versus OpenID Connect (OIDC) 10:11
  • Java Nested Classes 8:01
  • Java Record - Model Immutable Data 12:42
  • Java Thread Locals - ThreadLocal class 15:31
  • Java Thread Locals - InheritableThreadLocal class 10:13
  • Java Thread Locals - Disadvantages 5:33
  • Spring Boot - Security Propagation 9:15

Requirment

  • Basic working knowledge of OAuth

  • Basic knowledge of Spring Boot

Outcomes

  • 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

Instructor

...
Viraj Shetty

0.0

  • ... 0 Student
  • ... 3 Courses
  • ... 0 review

View Details

Reviews

Rate this course :

Remove all
Một sản phẩm của Công ty Cổ phần Thương mại Vạn Tín Việt·vantinviet.com