Are you sure you don't mean the opposite here? `if (!info.idpName) {`