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

没有logout? #1

Open
MiltonErickson opened this issue Jan 8, 2021 · 2 comments
Open

没有logout? #1

MiltonErickson opened this issue Jan 8, 2021 · 2 comments

Comments

@MiltonErickson
Copy link

作者您好,没有发现有logout的功能,服务器端销毁token与session,请问,有计划吗?

@DeyiXu
Copy link
Member

DeyiXu commented Jan 11, 2021

目前token销毁是有的,session销毁我抽时间加上。

token销毁,参考OAuth2模块下的/revoke。启用这个功能需要在配置文件中配置server.oauth2.revocation_endpoint_enabled为开启状态

OAuth 2.0 Token Revocation 协议参考:https://tools.ietf.org/html/rfc7009

@MiltonErickson
Copy link
Author

666

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

No branches or pull requests

2 participants