Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

用ngrok代理的域名拿不到csrf #3546

Closed
750973092 opened this issue Mar 15, 2019 · 2 comments
Closed

用ngrok代理的域名拿不到csrf #3546

750973092 opened this issue Mar 15, 2019 · 2 comments

Comments

@750973092
Copy link

750973092 commented Mar 15, 2019

What happens?

用ngrok做本地穿透生成域名代理访问的时候csrf没有获取到值,但用本地127.0.0.1:7001可以直接访问获取;
补充下:ngrok域名直接在浏览器访问拿不到csrf,但在nuxt上可以用axios请求拿到

最小可复现仓库

请使用 egg-init --type=simple bug 创建,并上传到你的 GitHub 仓库

复现步骤,错误日志以及相关配置

相关环境信息

  • 操作系统:win64
  • Node 版本:10.10.0
  • Egg 版本:^2.15.1
@egg-bot
Copy link

egg-bot commented Mar 18, 2019

Hello @750973092. Please provide a reproducible example following the instruction.

Issues labeled by Need Reproduce will be closed if no activities in 7 days.


@750973092,请根据这个说明提供最小可复现代码。

如果在 7 天内没有进展会被自动关闭。

@atian25
Copy link
Member

atian25 commented Apr 4, 2019

hey, we need more information to follow up this issue, recommend to use egg-init --type=simple to provide a mini project and upload to your github.

for now it will close due to lack of activity, feel free to reopen this issue if provided more information.

@atian25 atian25 closed this as completed Apr 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants