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] 不确实是不是一个BUG:在用户登陆的时候,token_cache_tbl会生成6个不同token_id #20253

Open
ilovedumplings opened this issue May 13, 2024 · 1 comment
Assignees
Labels
bug Something isn't working state/awaiting processing

Comments

@ilovedumplings
Copy link

问题描述/What happened:
在用户登陆的时候,token_cache_tbl会生成6个不同token_id,不确定是不是bug,因为method是token的时候,除了id不一样,其余的参数都一样,感觉是没有必要的处理。
如下图:
image
还有个问题是:method=password的作用是什么?

环境/Environment:

  • OS (e.g. cat /etc/os-release):
  • Kernel (e.g. uname -a):
  • Host: (e.g. dmidecode | egrep -i 'manufacturer|product' |sort -u)
  • Service Version (e.g. kubectl exec -n onecloud $(kubectl get pods -n onecloud | grep climc | awk '{print $1}') -- climc version-list):
@ilovedumplings ilovedumplings added the bug Something isn't working label May 13, 2024
@ilovedumplings
Copy link
Author

问题描述/What happened: 在用户登陆的时候,token_cache_tbl会生成6个不同token_id,不确定是不是bug,因为method是token的时候,除了id不一样,其余的参数都一样,感觉是没有必要的处理。 如下图: image 还有个问题是:method=password的作用是什么?

环境/Environment:

  • OS (e.g. cat /etc/os-release):
  • Kernel (e.g. uname -a):
  • Host: (e.g. dmidecode | egrep -i 'manufacturer|product' |sort -u)
  • Service Version (e.g. kubectl exec -n onecloud $(kubectl get pods -n onecloud | grep climc | awk '{print $1}') -- climc version-list):

但是好像每个token的id对应的权限不一致,请问是不是个bug,如果不是bug,这样的逻辑是什么?我没太有排查思路,所以直接问一下了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working state/awaiting processing
Projects
None yet
Development

No branches or pull requests

2 participants