Initial code to map external authorities to scopes