Added ivoauth debug to get external_id