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

87. 项目思考-前后端分离、JWT-sessionStorage、session-cookie #88

Open
ly525 opened this issue Jun 25, 2018 · 0 comments
Open

Comments

@ly525
Copy link
Owner

ly525 commented Jun 25, 2018

  1. sessionStorage 不能跨Tab共享

复现场景:用户登录之后,前端将 jwt 存储至 sessionStorage 中,跳转到首页。但是用户从收藏夹 或者 地址栏输入首页 进入首页,会发现 jwt 没有在header 中带给后端,导致401

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

1 participant