How to use mapper type "key to role" in keycloak

I have an OIDC Identity Provider setup in Keycloak, and I am trying to map claims using the “Claim to Role” mapper, but that is not working fine. I cannot see the roles under user section of my broker keycloak. It will be really helpful if anybody can give me the steps.