spring-security-oauth(2.3.4版本)解决There is no PasswordEncoder mapped for the id “null”的问题
背景
最近跟着大神学习撸spring cloud,最后的章节是spring oauth2 保护应用程序的内容,跟着作者讲解找搬demo,但是我使用postman 访问http://localhost:5000/oauth/token 端口获取token时一直不成功,作者的版本比较老(貌似spring boot 是1.5,我的都是最新的稳定版2.x),主要是以下两个错误:
错误一
访问 http...
原创
2019-08-14 10:51:39 ·
823 阅读 ·
1 评论