0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-16 20:26:19 -05:00

chore(console): client secret input of OIDC SSO form should be confidential (#5012)

This commit is contained in:
Darcy Ye 2023-11-30 14:39:25 +08:00 committed by GitHub
parent d18dfe5e20
commit 7b57871393
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -43,6 +43,7 @@ function OidcMetadataForm({ providerConfig, config, providerName }: Props) {
</FormField>
<FormField isRequired title="enterprise_sso.metadata.oidc.client_secret_field_name">
<TextInput
isConfidential
{...register('clientSecret', { required: true })}
error={Boolean(errors.clientSecret)}
/>