We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 411dd7a commit 6191255Copy full SHA for 6191255
server/api-service/lowcoder-server/src/main/java/org/lowcoder/api/framework/security/SecurityConfig.java
@@ -77,6 +77,11 @@ SecurityWebFilterChain securityWebFilterChain(ServerHttpSecurity http) {
77
.anonymous(anonymous -> anonymous.principal(createAnonymousUser()))
78
.httpBasic(Customizer.withDefaults())
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()
85
.matchers(
86
ServerWebExchangeMatchers.pathMatchers(HttpMethod.POST, CUSTOM_AUTH + "/otp/send"), // sms verification
87
ServerWebExchangeMatchers.pathMatchers(HttpMethod.POST, CUSTOM_AUTH + "/phone/login"),
0 commit comments