Hi Albert!
I think that is a good idea to have and I’ve created commit that will add the external_id of the user if sso is enabled.
https://github.com/discourse/discourse/commit/a900c99993aa029230b57d9fd0d96365e1579a21
Hopefully that helps! It will be added to your site next time it is deployed, which should be sometime this week.