Keycloak + Docker Compose: Setup & Authentication Tutorial

preview_player
Показать описание
Learn how to implement Keycloak authentication using Docker Compose, from initial setup through realm creation, client configuration, and JWT token management in this hands-on security tutorial.

Chapters:
00:00:00 What to Expect: Keycloak Authentication on Docker Compose
00:01:29 Download and Test Starter Code
00:03:36 Keycloak Admin Console
00:04:24 Create Keycloak Realm
00:05:08 Create Keycloak Client
00:08:08 Create Realm Role for Keycloak User
00:10:06 Import Postman Collection
00:10:56 Keycloak Access Token
00:12:44 Access Protected Resource
00:13:40 Keycloak Refresh Token
00:14:40 Keycloak Logout
00:15:25 Cleaning Up

#keycloak #dockercompose #devops
Рекомендации по теме
Комментарии
Автор

I was just one my way to learn about Keycloak and you uploaded. Thank you!
love your courses btw

clashwithrashed
Автор

If you're getting `keycloak Client not allowed for direct access grants`, enable the `direct access grant` in the client settings. For some reason it may not be enabled by default.

saheedadedeji
Автор

heyy i would like to help me on this, on the user info api on postman it says 402 forbidden why? the others they all worked perfectly thank u, can u tell me whats the problem

norhene
Автор

Amazing! how configure SSL on keycloak?

RicardoJosue
Автор

Is there any video from the User login perspective? I'm really strugling to find and understand how is the user login flow with this authentication.

alx_santos
Автор

Is the setup enough for production level? Include that document if not

YountenJamtsho
Автор

The postman request is also not working with form-data, works fine with x-www-form-urlencoded

saheedadedeji
Автор

I keep getting this on the postgres logs:
ERROR: relation "migration_model" does not exist at character 25
STATEMENT: SELECT ID, VERSION FROM MIGRATION_MODEL ORDER BY UPDATE_TIME DESC

Hero-wdvn
visit shbcf.ru