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

token正常失效后 再访问网关 直接返回401不走拦截器 #15

Open
zhangchaoyanggit opened this issue Nov 15, 2020 · 3 comments

Comments

@zhangchaoyanggit
Copy link

ServerAuthenticationEntryPoint 这个拦截器没走,网关直接响应401 不知道该从哪拦截了。。。

@yanzhisishui
Copy link

ServerAuthenticationEntryPoint 这个拦截器没走,网关直接响应401 不知道该从哪拦截了。。。

你好,我也是这种情况,直接返回的 401 请问能指点一下问题出在哪吗?感激不尽
image

@xiaoyaojian
Copy link

,我也是这种情况,直接返回的 401 请问能指点一下问题出在哪吗?感激不尽

你如果完全按照教程写的话,那client_id应该是client-app,不是client_app

@cunzhiwang
Copy link

ServerAuthenticationEntryPoint 这个拦截器没走,网关直接响应401 不知道该从哪拦截了。。。

你好,我也是这种情况,直接返回的 401 请问能指点一下问题出在哪吗?感激不尽 image

可以在yaml添加这个配置logging.level.org.springframework.security: DEBUG,查看具体的日志

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

4 participants