springboot security 项目通过链接打开一个新的页面时,出现 in a frame because it set ‘X-Frame-Options‘ to ‘deny‘ 错误,如下图所示
解决方法:
//防止iframe
http.headers().frameOptions().disable();
加上以上代码即可解决问题
springboot security 项目出现 in a frame because it set 'X-Frame-Options' to 'deny'
原文:https://www.cnblogs.com/arsn/p/12684004.html