-
Notifications
You must be signed in to change notification settings - Fork 10
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
服务端鉴权中间件设计 #72
Comments
Pease assign to me~ |
It seems that Hertz provides an implecation of jwt at "github.com/hertz-contrib/jwt", I think mabe it suit fzuserver more, I'm trying to write a demo about it. I wonder if it is ok to change. |
more information required, demo or doc to describe it |
https://github.com/SmilingSea/jwt_demo.git |
不用这样,你直接开一个wip,里面做你的实现。 先开pr把,这样大家看得方便 |
由于教务处的限制,目前我们的用户登录过程必须在客户端侧完成,涉及教务处用户 token 的接口我们会在 header 上提供。但是这样带来了一些问题——一些不需要token 的接口就没有任何防护措施了
目前 fzuhelper-server 内置了一套 2022 年写的 jwt 组件,我们希望可以:
需要提醒的是,我们这套鉴权体系本质上是为了防止第三方恶意盗用接口,因此这个鉴权中间件和前面所提到的教务处的用户 token 并不是同一个 token 概念。
你除了需要满足以上要求,你还需要提供一套文档,当你设计完成后,在周会上阐述你的设计
建议:先写设计文档,最后开始代码开发
The text was updated successfully, but these errors were encountered: