@Override
    public String getMappedAttribute(final String claim, final RegisteredService registeredService) {
        val container = getClaimMappingsContainer(registeredService);
        return Optional.ofNullable(container.get(claim)).orElseGet(() -> claimsToAttribute.get(claim));
    }
Map OIDC claim to an attribute.
support/cas-server-support-oidc-core-api/src/main/java/org/apereo/cas/oidc/claims/OidcDefaultAttributeToScopeClaimMapper.java