Correct. The most likely cause of your earlier problem is that you defined 2 attributes with the same id="mail". If you had created the OIDC attribute with id="oidc_mail", it should have worked. However, it is clearer to just add the OIDC encoder to the
existing attribute definition.