使用OAuth中的密码模式老是出现Bad credentials
在SecurityConfig已经将BCryptPasswordEncoder注入到IOC容器中,所以数据库提供的密码必须是加密的。
再次发送请求即可成功!
使用postman测试oauth2.0认证服务中出现OAuth出现Bad credentials
最新推荐文章于 2024-04-19 14:07:02 发布
使用OAuth中的密码模式老是出现Bad credentials
在SecurityConfig已经将BCryptPasswordEncoder注入到IOC容器中,所以数据库提供的密码必须是加密的。
再次发送请求即可成功!