{"timestamp":"2023-08-30 16:44:29","status":401,"error":"Unauthorized","message":"","path":"/oauth/token"}
时间: 2023-09-05 12:08:54 浏览: 152
根据引用中提供的信息,当使用grant_type为password方式访问Spring Cloud OAuth2项目时,出现了401 Unauthorized的错误。错误信息中包含了时间戳、状态码、错误类型、错误信息和请求路径。根据引用中的解决方案,可能需要对问题进行分析和解决。而引用提供了关于Spring Security Oauth2认证流程的信息,可能也能帮助解决问题。需要进一步的信息才能给出详细的解答。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* [Spring Cloud OAuth2中访问/oauth/token报401 Unauthorized问题的解决](https://blog.csdn.net/zlbdmm/article/details/112720759)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *3* [PostMan和RestTemplate请求/oauth/token获取token报401错误](https://blog.csdn.net/shenlf_bk/article/details/124470009)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文