fix for client to support scopes defined on config.