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 多个guard token是通用的 #48

Open
myatease opened this issue Feb 21, 2024 · 5 comments
Open

bug 多个guard token是通用的 #48

myatease opened this issue Feb 21, 2024 · 5 comments

Comments

@myatease
Copy link

bug 多个guard token是通用的。没有隔离。

@terranboy
Copy link

确实, guard不起作用, 希望尽快修复,感谢

@qbhy
Copy link
Owner

qbhy commented Mar 15, 2024

不同的 guard 要配置不同的 secret ,给我看看你们的配置 ?

@terranboy
Copy link

"中间件只支持默认guard校验 但是开发者可以继承该中间自行扩展" 没看到这一句 ,可以了 谢谢

@myatease
Copy link
Author

image
image

解决方案自定义guard ,加判断。不同的guard互不干涉

@qbhy
Copy link
Owner

qbhy commented Mar 15, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants