Skip to content

Commit 86b23ef

Browse files
FalkWolskyludomikula
FalkWolsky
authored andcommitted
Updated Readme
1 parent ab89612 commit 86b23ef

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

server/api-service/lowcoder-server/src/main/java/org/lowcoder/api/authentication/service/factory/AuthConfigFactoryImpl.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,8 @@ private Oauth2SimpleAuthConfig buildOauth2OryAuthConfig(AuthConfigRequest authCo
7171
org.lowcoder.sdk.constants.AuthSourceConstants.ORY_NAME,
7272
requireNonNull(authConfigRequest.getClientId(), "clientId can not be null."),
7373
authConfigRequest.getClientSecret(),
74-
authConfigRequest.getInstanceId(),
74+
authConfigRequest.getString("baseUrl"),
75+
authConfigRequest.getString("scope"),
7576
authConfigRequest.getAuthType());
7677
}
7778

@@ -84,8 +85,9 @@ private Oauth2SimpleAuthConfig buildOauth2KeycloakAuthConfig(AuthConfigRequest a
8485
org.lowcoder.sdk.constants.AuthSourceConstants.KEYCLOAK_NAME,
8586
requireNonNull(authConfigRequest.getClientId(), "clientId can not be null."),
8687
authConfigRequest.getClientSecret(),
87-
authConfigRequest.getInstanceId(),
88+
authConfigRequest.getString("baseUrl"),
8889
authConfigRequest.getString("realm"),
90+
authConfigRequest.getString("scope"),
8991
authConfigRequest.getAuthType());
9092
}
9193

0 commit comments

Comments
 (0)