Java Spring Security 5 报错:There is no PasswordEncoder mapped for the id “null”

本文主要介绍Spring Boot 1.4.9迁移到Spring Boot 2.0以及Spring Security 5,通过OAuth 2进行身份验证。出现此错误:java.lang.IllegalArgumentException: There is no PasswordEncoder mapped for the id “null“的解决方法。

原文地址:Java Spring Security 5 报错:There is no PasswordEncoder mapped for the id “null”

posted @ 2021-06-22 10:30  levizhong  阅读(102)  评论(0)    收藏  举报