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

个人令牌错误时应用市场内容不能正常展示 #50

Open
wan92hen opened this issue Dec 7, 2023 · 2 comments
Open

个人令牌错误时应用市场内容不能正常展示 #50

wan92hen opened this issue Dec 7, 2023 · 2 comments
Labels
kind/improvement Categorizes issue or PR as related to a improvement.

Comments

@wan92hen
Copy link

wan92hen commented Dec 7, 2023

当插件设置中的个人令牌不正确时,应用市场内容无法正常展示。

令牌格式问题

令牌格式有问题时,例如删除 pat_eyJraWQiOiIyRE5ac3FfTWp3M...... 开头的字母 p,应用市场页面不能正常加载,浏览器控制台报错
image
image

令牌有效性问题

令牌有效性有问题时,例如删除或替换掉令牌末尾的部分字符,应用市场可以正常加载,但是相关接口返回 401,无法显示任何应用
image

建议出现这种情况时给出令牌错误的提示,但不影响用户正常浏览应用。

@wan92hen
Copy link
Author

wan92hen commented Dec 7, 2023

/cc @ruibaby

@ruibaby
Copy link
Member

ruibaby commented Dec 7, 2023

/kind improvement

@f2c-ci-robot f2c-ci-robot bot added the kind/improvement Categorizes issue or PR as related to a improvement. label Dec 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/improvement Categorizes issue or PR as related to a improvement.
Projects
None yet
Development

No branches or pull requests

2 participants