# \#federation

**URL:** https://community.auth0.com/tag/federation/1342.md

[Latest](https://community.auth0.com/latest.md) · [Categories](https://community.auth0.com/categories.md) · [Tags](https://community.auth0.com/tags.md)

---

## [Automatically assign roles to federated OIDC users](https://community.auth0.com/t/automatically-assign-roles-to-federated-oidc-users/88217)

<div class="topic-metadata">

**Author:** [@k01157](https://community.auth0.com/u/k01157)\
**Replies:** 4\
**Last updated:** [August 6, 2022, 5:07pm UTC](https://community.auth0.com/t/automatically-assign-roles-to-federated-oidc-users/88217 "2022-08-06T17:07:58Z")

</div>

Hi, I use an OpenID Connect enterprise connection to federate users. The returned ID-token contains a custom claim that represents the roles of the given user. I want to dynamically map the content of this id-token claim…
