Get user profile should return anonymousUser instead of 401 unauthorized in case the API is called without logging in. (#50) (#4)
This will help us display the 404 page on the client reliably. Co-authored-by: Arpit Mohan <me@arpitmohan.com>
This commit is contained in:
parent
c28e9f5159
commit
1c9282a33b
|
|
@ -131,6 +131,7 @@ public class SecurityConfig {
|
|||
ServerWebExchangeMatchers.pathMatchers(HttpMethod.PUT, USER_URL + "/resetPassword"),
|
||||
ServerWebExchangeMatchers.pathMatchers(HttpMethod.GET, USER_URL + "/invite/verify"),
|
||||
ServerWebExchangeMatchers.pathMatchers(HttpMethod.PUT, USER_URL + "/invite/confirm"),
|
||||
ServerWebExchangeMatchers.pathMatchers(HttpMethod.GET, USER_URL + "/me"),
|
||||
ServerWebExchangeMatchers.pathMatchers(HttpMethod.GET, ACTION_URL),
|
||||
ServerWebExchangeMatchers.pathMatchers(HttpMethod.GET, PAGE_URL + "/**"),
|
||||
ServerWebExchangeMatchers.pathMatchers(HttpMethod.GET, APPLICATION_URL + "/**"))
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user