fix(gateway): let admin forgot-password reach services-system without a user token
Found in the browser check: forgot-password always failed with 401 at the gateway, so no temporary password was ever sent. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
This commit is contained in:
1 parent
b2e0a17790
commit
ad4713094a
2 files changed
+68
No files matched your search
@@ -131,6 +131,8 @@ public class JWTAuthFilter implements GlobalFilter, Ordered {
|
||||
|| url.contains("/actuator/") || url.contains("/message/")
|
||||
|| url.contains("/appInitialize/") || url.contains("/blockLoginPeriod/")
|
||||
|| url.contains("/member/forgetPassword")
|
||||
// Co-Lite admin forgot password (public; answers the same whether or not details match)
|
||||
|| url.equals("/user/resetAdminPassword")
|
||||
|| url.contains("/geoLocationHierarchy/findByFirstLevelLocation")
|
||||
|| url.contains("/geoLocationHierarchy/findAllByParentId")
|
||||
// public content - no JWT required
|
||||
|
||||
Reference in new issue
Block a user