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

单点登录 为什么不好使? #51

Closed
tieshengdetie opened this issue Apr 3, 2022 · 1 comment · Fixed by #53
Closed

单点登录 为什么不好使? #51

tieshengdetie opened this issue Apr 3, 2022 · 1 comment · Fixed by #53

Comments

@tieshengdetie
Copy link

login_type 设置的事sso 两个客户端同时登录,token没有失效,都可以用

@phper666
Copy link
Owner

@tieshengdetie 在你的登录逻辑里面加入刷新token的操作,正常的逻辑是登录->生成token->刷新token->返回刷新的token,此时所有的客户端token都会失效,只有刷新token的那个会生效

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants