Skip to content

Commit 85a9153

Browse files
fix generic oauth issue
1 parent d25f111 commit 85a9153

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

client/packages/lowcoder/src/pages/setting/idSource/OAuthForms/GenericOAuthForm.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@ function GenericOAuthForm(props: GenericOAuthFormProp) {
140140
setIssuerDetails(issuerDetails => ({
141141
...issuerDetails,
142142
...values,
143+
authType: AuthType.Generic,
143144
}))
144145
setCurrentStep(currentStep => currentStep + 1);
145146
})
@@ -152,7 +153,8 @@ function GenericOAuthForm(props: GenericOAuthFormProp) {
152153
...issuerDetails,
153154
sourceMappings: {
154155
...values,
155-
}
156+
},
157+
authType: AuthType.Generic,
156158
};
157159
saveAuthProvider(updatedDetails);
158160
return updatedDetails;

0 commit comments

Comments
 (0)