Is there a way we can access the external_id from SSO record of another user?

I think you want a plugin that adds the external_id to the user serializer.

Something like:

  add_to_serializer(:user, :external_id) do
     object.external_id
  end