Figured out the "clobbering" Need to remove the listed fields in both passport_saml AND passport_social.
For example:
generic_local_attributes_list:
uid, mail, cn, displayName, givenName, sn, provider, discordUid
and
generic_remote_attributes_list:
username, email, name, name, givenName, familyName, provider, discordUid
AND
passport_saml:
generic_local_attributes_list: uid, mail, cn, displayName, givenName, sn, provider
and
generic_remote_attributes_list: username, email, name, name, givenName, familyName, provider
That seems to work, though don't know about what best practices should be, and would appreciate guidance is there is a better way to do this.
Now to figure out how to preventit from creating new users (only allow updates of existing users, not allow creating new users from the discord app).