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

[BUG] 添加 OneDrive 账号时提示 no such access token in response #2610

Closed
3DMXM opened this issue Oct 20, 2023 · 4 comments
Closed

[BUG] 添加 OneDrive 账号时提示 no such access token in response #2610

3DMXM opened this issue Oct 20, 2023 · 4 comments
Assignees
Milestone

Comments

@3DMXM
Copy link

3DMXM commented Oct 20, 2023

联系方式

No response

1Panel 版本

v1.7.1

问题描述

创建备份账号-》onedrive 账号 的时候,提示 “no such access token in response”
20231020141830

重现步骤

  1. 打开面板设置
  2. 备份账号
  3. 微软 OneDrive
  4. 添加 微软 OneDrive
  5. 点击获取,登录onedrive账号
  6. 复制授权后返回的 code
  7. 粘贴到 授权码 里面
  8. 然后点确认

期待的正确结果

No response

相关日志输出

No response

附加信息

No response

@3DMXM 3DMXM changed the title [BUG] [BUG] 添加 OneDrive 账号时提示 no such access token in response Oct 20, 2023
@ssongliu
Copy link
Member

ssongliu commented Oct 20, 2023

感谢反馈!可以细看一下第六步的返回信息,复制的 code 后面是否还有其他信息,比如说&session_state=xxx,那部分不需要复制

@3DMXM
Copy link
Author

3DMXM commented Oct 20, 2023

感谢反馈!可以细看一下第六步的返回信息,复制的 code 后面是否还有其他信息,比如说&session_state=xxx,那部分不需要复制

感谢,解决了,我觉得,可以直接用 URLSearchParams 来处理这些参数

@ssongliu
Copy link
Member

感谢反馈!可以细看一下第六步的返回信息,复制的 code 后面是否还有其他信息,比如说&session_state=xxx,那部分不需要复制

感谢,解决了,我觉得,可以直接用 URLSearchParams 来处理这些参数

嗯,1.8 版本这块会优化一下,加上校验。

@wanghe-fit2cloud
Copy link
Member

v1.7.2 版本已发布。

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