You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2022/07/26 06:56:46 UTC
[GitHub] [dubbo-go] Mulavar opened a new issue, #1998: Token Filter 无法生效
Mulavar opened a new issue, #1998:
URL: https://github.com/apache/dubbo-go/issues/1998
<!-- Please use this template while reporting a bug and provide as much info as possible. Not doing so may result in your bug not being addressed in a timely manner. Thanks!
-->
**What happened**:
目前在开启 token filter 功能时,provider 会将对应 token 上传到注册中心,consumer 在拉取时会自动读取这部分信息放到 rpc 的 attachment 中,因此 provider 端总是能读取到自身设置的 token,使得校验通过,从而 token filter 实际没有起任何作用。
**What you expected to happen**:
由用户自己在 attachment 中显式声明 token,provider 端在校验流程中比对 consumer 端传来的 token 和自身的是否一致,确保是否给予调用权限。
**How to reproduce it (as minimally and precisely as possible)**:
**Anything else we need to know?**:
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org
[GitHub] [dubbo-go] Mulavar closed issue #1998: the current 'Token Filter' is invalid in triple protocol
Posted by GitBox <gi...@apache.org>.
Mulavar closed issue #1998: the current 'Token Filter' is invalid in triple protocol
URL: https://github.com/apache/dubbo-go/issues/1998
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org