Roles in Keycloak | Realm, Client, & Composite Roles Explained

Опубликовано: 04 Июнь 2026
на канале: hexaDefence
4,164
51

In this video, we dive deep into Roles in Keycloak — one of the most essential concepts for managing access and permissions in your applications.

🔑 You’ll learn:

What Realm & Client Roles are and when to use them

How to create and use Composite Roles

How to assign roles to users

Real-world examples to help solidify your understanding

How to add and inspect roles in OIDC tokens

Whether you're just starting with Keycloak or looking to strengthen your role-based access control, this video will guide you through it step-by-step.

Timestamps

00:00 - Introduction
00:20 - Types of Roles
01:46 - Composite Roles
02:20 - Using Realm Roles
04:12 - Using Client Roles
05:30 - Token Evaluation
07:17 - Selectively Adding Roles