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

gateway模块 RenewFilter拦截器 不起作用 #22

Open
qbkken opened this issue Jun 11, 2018 · 3 comments
Open

gateway模块 RenewFilter拦截器 不起作用 #22

qbkken opened this issue Jun 11, 2018 · 3 comments

Comments

@qbkken
Copy link

qbkken commented Jun 11, 2018

RenewFilter 中 :
String token = StringUtils.substringAfter(request.getHeader(HttpHeaders.AUTHORIZATION), "bearer "); bearer 是不是应该 Bearer

@paascloud
Copy link
Owner

这里和大牛讨论过, 刷新token的问题最好是放到前端来做, 这里只是给大家提供一种思想, 理论应该是首字母大写

@paascloud
Copy link
Owner

这里就是给大家预留了一个口子,如果cookie是后台操作的,可以在这里统一调用刷新token来处理,希望我的回答可以帮助到你

@zzhignore1
Copy link

uac项目配置文件zcloud.security.oauth2.tokenStore = redis 配置成这个 gateway项目会报错private JwtTokenStore jwtTokenStore 无法注入

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