public void profileAttribute(final String name, String tag, final AttributeConverter converter) {
        profileAttributes.put(name, tag);
        getConverters().put(name, Objects.requireNonNullElseGet(converter, StringConverter::new));
    }
Add an attribute as a primary one and its converter.

@param name name of the attribute
@param tag json reference
@param converter converter
pac4j-oauth/src/main/java/org/pac4j/oauth/profile/generic/GenericOAuth20ProfileDefinition.java