File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
server/api-service/lowcoder-server/src/main/java/org/lowcoder/api/framework/security Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -77,6 +77,11 @@ SecurityWebFilterChain securityWebFilterChain(ServerHttpSecurity http) {
77
77
.anonymous (anonymous -> anonymous .principal (createAnonymousUser ()))
78
78
.httpBasic (Customizer .withDefaults ())
79
79
.authorizeExchange (customizer -> customizer
80
+ .matchers (
81
+ ServerWebExchangeMatchers .pathMatchers (HttpMethod .GET , APPLICATION_URL + "/home" ),
82
+ ServerWebExchangeMatchers .pathMatchers (HttpMethod .GET , NewUrl .APPLICATION_URL + "/home" )
83
+ )
84
+ .authenticated ()
80
85
.matchers (
81
86
ServerWebExchangeMatchers .pathMatchers (HttpMethod .POST , CUSTOM_AUTH + "/otp/send" ), // sms verification
82
87
ServerWebExchangeMatchers .pathMatchers (HttpMethod .POST , CUSTOM_AUTH + "/phone/login" ),
You can’t perform that action at this time.
0 commit comments