To address the issues of malicious nodes being easily selected as consensus nodes and the problem of untimely processing of malicious nodes in the DPoS consensus algorithm, we propose a Trust-authorized Delegated Proof of Stake (Ta-DPoS) consensus algorithm based on reputation authorization. The Ta-DPoS consensus algorithm uses the PowerTrust model to conduct global reputation evaluation of nodes, enhances the authority and credibility of selected consensus nodes, balances the competition for bookkeeping rights while ensuring a fair selection process, and improves decentralization. At the same time, under a reputation reward and punishment mechanism based on dynamic games, malicious nodes are promptly excluded from the network edge, achieving constraints and incentives for blockchain node behavior. Experimental results show that to some extent, the Ta-DPoS consensus algorithm overcomes security issues that exist in node election and consensus processes and achieves relatively better performance in consensus efficiency, decentralization, and scalability.