Ưu đãi trong tuần: Nhập mã UD50 giảm 50k cho đơn từ 300k!
Trang chủ
Menu

Advanced OpenID Connect with Keycloak and Spring Security

OpenID Connect Nâng cao với Keycloak và Spring Security

OpenID Connect Nâng cao với Keycloak và Spring Security

Hướng dẫn từng bước OAuth, OpenID Connect với Keycloak, GitLab, JWT, Đa Nhà cung cấp Danh tính, Identity Broker và Spring Boot

4.5
(431 đánh giá)
4,719 học viên
Giảng viên
Viraj Shetty
Phụ đề Việt chất lượng cao Phụ đề tiếng Anh Bán chạy Đánh giá cao
50.000đ 349.000đ -86%
✓ Xem giỏ hàng và thanh toán
Bao gồm phụ đề tiếng Việt, tiếng Anh
10.0 giờ video
98 bài giảng
6 bài quiz
Truy cập vĩnh viễn
Học trên mọi thiết bị
Cập nhật: 30/05/2026

Bạn sẽ học được gì

Tổng quan về Khái niệm OAuth và OpenID cho Ứng dụng Xã hội và Doanh nghiệp
Tìm hiểu Keycloak với vai trò Nhà cung cấp Quản lý Danh tính và Truy cập
Hướng dẫn từng bước sử dụng Spring Security với Authorization Code (có và không có PKCE)
Hướng dẫn từng bước sử dụng Spring Security với Client Credentials grant
Hướng dẫn từng bước lập trình OAuth 2 Clients, JWT và Opaque Resource Servers với Spring Security
Thiết kế Ủy quyền Doanh nghiệp sử dụng Scopes và Roles trong Keycloak
Thực hành tích hợp với Nhà cung cấp Danh tính Doanh nghiệp Okta SAML sử dụng Keycloak
Thực hành Identity Brokering sử dụng Keycloak với OpenID Connect từ GitLab
Xử lý Đa Nhà cung cấp Danh tính trong Spring Boot và Spring Security

Yêu cầu

Kiến thức cơ bản về OAuth
Kiến thức cơ bản về Spring Boot

Đối tượng phù hợp

Dành cho Lập trình viên Java thực hành muốn xây dựng Bảo mật Doanh nghiệp với OAuth 2 và OpenID Connect
Dành cho Lập trình viên và Kiến trúc sư Java muốn tìm hiểu Keycloak

Nội dung khóa học

10 phần • 98 bài giảng
1 Sơ đồ Kiến trúc
2 Tổng quan về Keycloak
3 Cài đặt và Thiết lập Keycloak
4 Cài đặt và Thiết lập Postgres
5 Thiết lập Keycloak với Postgres
6 Lưu ý về thiết lập Keycloak và Postgres
1 Giới thiệu Phần học
2 Các Thành phần trong OAuth
3 Clients và Scopes
4 Access Tokens và Endpoints
5 Authorization Code và Refresh Token Grants
6 Implicit Grant và PKCE
7 Client Credential và Password Grants
8 Ứng dụng Bên thứ ba so với Bên thứ nhất
9 OpenID Connect
10 OpenID Connect Doanh nghiệp và Roles
11 Liên kết Tài liệu RFC
1 Giới thiệu - Dự án BugTracker
2 Demo BugTracker
3 Thiết lập Keycloak cho BugTracker
4 Thiết kế BugTracker
5 Spring Security - Xác thực OAuth
6 Dịch vụ BugTracker
7 Cấu hình OpenID Connect cho BugTracker
8 Spring Security - Authorized Client
9 Controller BugTracker
10 BugTracker với Authorization Code Grant
11 BugTracker với PKCE
12 Ủy quyền BugTracker sử dụng Scopes
13 Liên kết tài liệu và Tải xuống cho phần
14 JAUBS - Giải thích Dự án Khóa học
15 Lời giải cho Bài tập 1
1 Giới thiệu Phần học
2 Keycloak Mapper - Thêm claim Roles
3 Ủy quyền BugTracker sử dụng Roles
4 Lưu ý khi chạy BugTracker với Roles
5 Lời giải cho Bài tập 2
6 Xử lý Đa Nhà cung cấp Danh tính
7 Đăng ký Client trong GitLab
8 Spring Security và Đa Nhà cung cấp Danh tính
9 Tùy chỉnh Authorities
10 Vấn đề với Đa Nhà cung cấp Danh tính
11 Tải xuống file ZIP BugTracker cuối cùng cho phần
1 Giới thiệu Phần học
2 Tạo một Microservice OAuth JWT (Resource Server)
3 Spring Security - Resource Server
4 Gọi một Microservice OAuth
5 Sử dụng Introspection Endpoint
6 Vấn đề Đa Nhà cung cấp Danh tính
7 Enterprise Schedulers và Client Credentials Grant
8 Client Credentials trong Keycloak
9 BugTracker Scheduler sử dụng Client Credentials
10 Liên kết tài liệu và Tải xuống cho phần
1 Giới thiệu về Identity Brokers
2 Luồng Thông điệp HTTP của Identity Broker
3 Thiết lập Gitlab Identity Provider trong Keycloak
4 Tích hợp Identity Broker cho BugTracker
5 Tổng quan về SAML
6 Tích hợp OpenID Connect và SAML
7 Trường hợp sử dụng SAML cho BugTracker
8 Tích hợp SAML BugTracker với Okta
9 Tạo tài khoản Okta Integrator
10 Đăng xuất Toàn cầu BugTracker với Okta
11 SAML Identity Provider - Mã hóa Assertion
12 SAML Identity Provider - Thiết lập Thuộc tính Người dùng
13 Liên kết tài liệu và Tải xuống cho phần
1 Xử lý Đa Authorization Server đồng thời
2 Cấu hình Spring Security cho OAuth
3 Truy cập GitLab Resource Server
4 Spring Security - oauth2Login so với oauth2Client
5 Sửa lỗi Trang Đăng nhập
6 Liên kết tài liệu và Tải xuống cho phần
1 Kết luận
2 Liên kết Tài liệu
3 Bài giảng Bổ sung
1 Giới thiệu Phần học
2 Lý thuyết và Thực hành Mật mã học
3 Mã hóa URL
4 Mã hóa Base64
5 Băm Mật mã học
6 Mã hóa Đối xứng
7 Mã hóa Bất đối xứng
8 Mã hóa Lai
9 Chữ ký Số
10 openssl - Demo Base64, Mã hóa URL và Băm
11 openssl - Demo Mã hóa Đối xứng
12 openssl - Demo Mã hóa Bất đối xứng
13 openssl - Demo Mã hóa Lai
14 openssl - Demo Chữ ký Số
1 Giới thiệu Phần học
2 Ủy quyền Doanh nghiệp so với OAuth
3 OAuth so với OpenID Connect (OIDC)
4 Lớp Lồng nhau trong Java
5 Java Record - Mô hình Dữ liệu Bất biến
6 Java Thread Locals - Lớp ThreadLocal
7 Java Thread Locals - Lớp InheritableThreadLocal
8 Nhược điểm của Java Thread Locals
9 Spring Boot - Lan truyền Bảo mật

Giới thiệu khóa học

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.


Khóa học liên quan

Khám phá thêm các khoá học cùng chủ đề

Hiển thị tất cả khoá học Identity Management
Hiển thị tất cả khoá học Keycloak
Hiển thị tất cả khoá học Spring Security
Zalo
Tôi có thể tư vấn khoá học cho bạn 😊