Group Claim with Keycloak

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • lgrippi
    Junior Member
    • Dec 2025
    • 3

    #1

    Group Claim with Keycloak

    We use Keycloak for User Authentication. It works good.
    How can I use the roles configured in Keycloak to map it to teams in EspoCRM?

    Token
    DEBUG: OIDC: JWT payload: {...."roles":["r-espocrm"]...}

    EspoCRM Authentication OIDC
    Click image for larger version

Name:	image.png
Views:	0
Size:	19.4 KB
ID:	123591
    EspoCRM Teams

    Click image for larger version

Name:	image.png
Views:	0
Size:	22.5 KB
ID:	123592

    Expected behaviour:
    The user will be automatically mapped to the corresponding teams mentioned in the token.

    Unfortunately nothing is mapped.​
Working...