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.
FAQ
FAQ area empty
Course curriculum
Chương 1 Introduction to Keycloak 6 bài · 31 phút
- Architecture Diagrams Học thử 3:49
- Keycloak Overview Học thử 6:56
- Keycloak Installation and Setup Học thử 7:41
- Postgres Installation and setup Học thử 4:57
-
Keycloak Postgres Setup 7:33
-
Notes on Keycloak and Postgres setup
Chương 2 OAuth and OpenID Connect in a Nutshell 12 bài · 59 phút
- Section Introduction Học thử 1:28
-
OAuth Actors 8:58
- Clients and Scopes Học thử 6:47
-
Access Tokens and Endpoints 6:45
- Authorization Code and Refresh Token Grants Học thử 12:04
-
Implicit Grant and PKCE 7:16
-
Client Credential and Password Grants 3:35
-
Third Party Versus First Party Application
-
OpenID Connect 6:16
-
Enterprise OpenID Connect and Roles 5:43
-
RFC Documentation Links
-
OAuth and OpenID Connect
Chương 3 Keycloak - OAuth Authorization with Scopes 17 bài · 2 giờ 15 phút
-
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 14 bài · 46 phút
-
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 12 bài · 53 phút
-
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 16 bài · 1 giờ 26 phút
-
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 8 bài · 23 phút
-
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 3 bài · 2 phút
-
Conclusion 1:59
-
Documentation Links
-
Bonus Lecture
Chương 9 Supplementary Section - Cryptography Basics 14 bài · 1 giờ 7 phút
-
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 9 bài · 1 giờ 18 phút
-
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
0 Student
3 Courses
0 review