When allowCredentials is true, allowedOrigins cannot contain the special value "*"
时间: 2023-10-19 19:25:40 浏览: 177
当`allowCredentials`为`true`时,`allowedOrigins`不能包含特殊值"*",因为它不能设置在"Access-Control-Allow-Origin"响应头中。[1]<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *3* [SpringBoot跨域问题:When allowCredentials is true, allowedOrigins cannot contain the special value ...](https://blog.csdn.net/qq_62767608/article/details/127416933)[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_2"}}] [.reference_item style="max-width: 50%"]
- *2* [【解决】When allowCredentials is true, allowedOrigins cannot contain the special value “*“ since](https://blog.csdn.net/m0_55710969/article/details/123626123)[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_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文