feat(SSO): メールアドレスのnormalizeを設定可能にする (MisskeyIO#971)

This commit is contained in:
あわわわとーにゅ 2025-04-22 00:14:13 +09:00 committed by GitHub
parent 17e14bb87e
commit c94e5d7e22
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 49 additions and 3 deletions

View file

@ -206,6 +206,9 @@ SPDX-License-Identifier: AGPL-3.0-only
<MkSwitch v-model="service.wantAssertionsSigned">
<template #label>Want Assertions Signed</template>
</MkSwitch>
<MkSwitch v-model="service.wantEmailAddressNormalized">
<template #label>Want Email Address Normalized</template>
</MkSwitch>
<MkSwitch v-model="service.useCertificate" :disabled="!!service.createdAt">
<template #label>Use Certificate</template>
</MkSwitch>
@ -422,6 +425,7 @@ function ssoServiceAddNew() {
cipherAlgorithm: '',
wantAuthnRequestsSigned: false,
wantAssertionsSigned: true,
wantEmailAddressNormalized: true,
regenerateCertificate: false,
});
}
@ -453,6 +457,7 @@ async function ssoServiceSave(service) {
cipherAlgorithm: service.cipherAlgorithm,
wantAuthnRequestsSigned: service.wantAuthnRequestsSigned,
wantAssertionsSigned: service.wantAssertionsSigned,
wantEmailAddressNormalized: service.wantEmailAddressNormalized,
};
if (service.createdAt !== undefined) {