-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
是否可以不使用redis #28
Comments
哪一个模块呢 |
你好大佬,
我之前是想问redis存储url和角色的哪里,能不能不用redis;因为我看别人都是用redis存token的;
现在我发现,如果资源服务,使用的url中带有{}型参数,比如/get/user/{1};那么gateway鉴权的时候就很麻烦了,
因为{1}这个参数不一定在最后,也可能在中间比如/get/{2}/car;
这种情况下,有什么办法可以很好的兼容这个问题吗?
另外您这个demo很好,很多点都考虑到了,比如过滤器、token增强什么的。
Ll
***@***.***
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
如果不需要人为让token失效的功能,是否可以去掉redis? 我尝试去掉redis,但是对api的保护也没有了,请问应该如何更改代码?
The text was updated successfully, but these errors were encountered: