0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-01-06 20:40:08 -05:00

fix(console): partially check config on guide page (#4946)

This commit is contained in:
Darcy Ye 2023-11-22 18:49:39 +08:00 committed by GitHub
parent 035ef65ac9
commit ffcd62e553
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -89,6 +89,8 @@ function Guide<T extends SsoProviderName>({ isOpen, connector, onClose, isReadOn
await api
.patch(`api/sso-connectors/${ssoConnectorId}/config`, {
json: cleanDeep(formData),
// Do not check whether the config is complete on guide page.
searchParams: new URLSearchParams({ partialValidateConfig: 'true' }),
})
.json<SsoConnectorWithProviderConfig>();