Skip to content

Commit 3a95a7f

Browse files
dragonpooludomikula
authored andcommitted
refresh oauth issue - invalid workspace id
1 parent 861e472 commit 3a95a7f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

server/api-service/lowcoder-server/src/main/java/org/lowcoder/api/framework/filter/UserSessionPersistenceFilter.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ private Mono<User> refreshOauthToken(Triple<User, Connection, List<String>> trip
122122

123123
return authenticationService
124124
.findAllAuthConfigs(orgId, true)
125+
.onErrorResume(e -> Flux.empty())
125126
.filter(findAuthConfig -> findAuthConfig.authConfig().getId().equals(connection.getAuthId()))
126127
.switchIfEmpty(Mono.empty())
127128
.flatMap(findAuthConfig -> {

0 commit comments

Comments
 (0)