当使用iframe将网页嵌入到其他网站页面内时,无法登陆
Closed this issue · 3 comments
tsingchou commented
当使用iframe将网页嵌入到其他网站页面内时,无法运行,点击登录后一闪而过跳回登录页面,返回401,是否有办法避免这个问题
WongSaang commented
iframe 如果跨域的话不会发送 cookie,可以试试 nginx 反向代理使用同一个域名
tsingchou commented
嗯,放弃iframe,重写了前端,httpd.conf中写了PassProxy解决了问题。如果后端的接口
有docs就更方便啦
发自我的 iPhone
在 2023年4月11日,20:22,Wong Saang ***@***.***> 写道:
iframe 如果跨域的话不会发送 cookie,可以试试 nginx 反向代理使用同一个域名
—
Reply to this email directly, view it on GitHub<#134 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ALWXILMIKMZJHXLSIFPAAP3XAVEGTANCNFSM6AAAAAAWX3Z3TU>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
WongSaang commented
精力有限,可以参考前端请求
…On Wed, Apr 12, 2023 at 7:54 AM Zhou Qing ***@***.***> wrote:
嗯,放弃iframe,重写了前端,httpd.conf中写了PassProxy解决了问题。如果后端的接口
有docs就更方便啦
发自我的 iPhone
在 2023年4月11日,20:22,Wong Saang ***@***.***> 写道:
iframe 如果跨域的话不会发送 cookie,可以试试 nginx 反向代理使用同一个域名
—
Reply to this email directly, view it on GitHub<
#134 (comment)>,
or unsubscribe<
https://github.com/notifications/unsubscribe-auth/ALWXILMIKMZJHXLSIFPAAP3XAVEGTANCNFSM6AAAAAAWX3Z3TU>.
You are receiving this because you authored the thread.Message ID:
***@***.***>
—
Reply to this email directly, view it on GitHub
<#134 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALAX6FDHS4NRWNEICLLSK4LXAXVLXANCNFSM6AAAAAAWX3Z3TU>
.
You are receiving this because you commented.Message ID:
***@***.***>