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

Authentication supports query parameters token #9069

Merged

Conversation

Zuoqiu-Yingyi
Copy link
Contributor

@Zuoqiu-Yingyi Zuoqiu-Yingyi commented Aug 29, 2023

  • Please commit to the dev branch
  • For contributing new features, please supplement and improve the corresponding user guide documents
  • For bug fixes, please describe the problem and solution via code comments
  • For text improvements (such as typos and wording adjustments), please submit directly

支持使用查询参数 token 进行鉴权
Using the query parameter token for authentication

使用场景:

  • 浏览器 WebSocket 接口无法自定义请求头, 需要使用查询参数 ?foo=bar&token=xxx 设置 token 字段
    The browser WebSocket interface cannot customize the request header, and the token field needs to be set using the query parameter ?foo=bar&token=xxx

@88250 88250 added this to the 2.10.3 milestone Aug 29, 2023
@88250 88250 merged commit 2bfefbe into siyuan-note:dev Aug 29, 2023
3 checks passed
@Zuoqiu-Yingyi Zuoqiu-Yingyi deleted the feat/check-auth-by-query-param-token branch August 29, 2023 08:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants