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

Improve kernel API token authentication #10792

Closed
88250 opened this issue Mar 29, 2024 · 2 comments
Closed

Improve kernel API token authentication #10792

88250 opened this issue Mar 29, 2024 · 2 comments
Assignees
Milestone

Comments

@88250
Copy link
Member

88250 commented Mar 29, 2024

https://ld246.com/article/1711591523782

Authorization 标头值支持 Token/tokenBearer/bearer 开头。

另外也调整桌面端 设置 - 关于 - API token 的界面交互。

@88250 88250 added this to the 3.0.6 milestone Mar 29, 2024
@88250 88250 self-assigned this Mar 29, 2024
@88250 88250 closed this as completed Mar 29, 2024
@88250 88250 reopened this Mar 29, 2024
Vanessa219 added a commit that referenced this issue Mar 29, 2024
@88250 88250 closed this as completed Mar 29, 2024
@88250 88250 changed the title Improve API Token authentication Improve kernel API Token authentication Apr 1, 2024
@88250 88250 changed the title Improve kernel API Token authentication Improve kernel API token authentication Apr 1, 2024
@Zuoqiu-Yingyi
Copy link
Contributor

Authorization 标头 BearerOAuth 2.0 (RFC 6750) 认证字段, 将其视为令牌不符合规范👀

@88250
Copy link
Member Author

88250 commented May 12, 2024

Authorization 标头 BearerOAuth 2.0 (RFC 6750) 认证字段, 将其视为令牌不符合规范👀

这个以业界通用做法为准吧,比如 GitHub REST API 也是这样的 https://docs.github.com/en/rest/authentication/authenticating-to-the-rest-api

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