# Keycloak concepts

In keycloak, you can&#x20;

### Mapper <a href="#undefined" id="undefined"></a>

![](https://4253921594-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MhiOx8KkYnYxHHqfUbB%2Fuploads%2F4KEUhyE9aCjZ0wvifmlB%2FWhatsApp%20Image%202021-10-21%20at%2011.02.11%20AM.jpeg?alt=media\&token=712a9302-0ba2-457e-ab12-9f365e2bbc23)![](https://4253921594-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MhiOx8KkYnYxHHqfUbB%2Fuploads%2FqjTceCNVdJAzW1SWeDYb%2FWhatsApp%20Image%202021-10-21%20at%2011.01.51%20AM.jpeg?alt=media\&token=355ef811-9c78-4a01-a937-07388ce81b35)

In keycloak, you can create a mapper to add any information from the user attributes, groups, audience etc to be mapped to a corresponding client.​The various mappers are shown below with multiple options for customisation to map the items as shown in the below picture like User attributes, Group details, User client role etc.

![](https://4253921594-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MhiOx8KkYnYxHHqfUbB%2Fuploads%2Fon9Bvg8161OwAF3jYxa0%2FWhatsApp%20Image%202021-10-21%20at%2011.01.34%20AM.jpeg?alt=media\&token=82bfb191-f358-420e-baec-e5296d7602ca)

With a mapper like below redash-group-mapper, we can map any part

![](https://4253921594-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MhiOx8KkYnYxHHqfUbB%2Fuploads%2FELnTjzYpraieiu75Lgz1%2FWhatsApp%20Image%202021-10-21%20at%2011.01.51%20AM.jpeg?alt=media\&token=bf3a742f-6e48-4f4c-9b7b-7229187ce79d)

![](https://4253921594-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MhiOx8KkYnYxHHqfUbB%2Fuploads%2FdRnVfly3llCkzwnuUJmw%2FWhatsApp%20Image%202021-10-21%20at%2011.02.11%20AM.jpeg?alt=media\&token=fc0a3b77-a8dd-4b2a-9f36-b66930c3554a)

![](broken-reference)Check the video for Understanding keycloak more

{% embed url="<https://youtu.be/ZxpY_zZ52kU>" %}

### Client Scopes

It's used to add a reusable scope for adding certain configuration to be allowed to used for certain clients. It can be used along with the mappers we learned to&#x20;
