A way for admins to edit users' external IDs

Yes. That is a normal route for our official SSO system.

Everytime a user login happens the data from SSO syncs with Discourse. If you need the sync to happen outside logins, you can call sync_sso anytime you need.

A new name with the same external_id should update the name of the user with that external_id if sso overrides username is true.

The CAS SSO is an unofficial plugin, and we don’t have experience with it.