fix: remove configured marker when deleting oauth provider configuration (#7887)

Signed-off-by: sheikhlimon <sheikhlimon404@gmail.com>
This commit is contained in:
Sheikh Limon
2026-03-23 18:28:11 +06:00
committed by GitHub
parent 620133a299
commit 259ca26dfe
@@ -213,6 +213,12 @@ export default function ProviderConfigurationModal({
for (const param of params) {
await remove(param.name, param.secret);
}
const hasOAuthKey = params.some((key) => key.oauth_flow);
if (hasOAuthKey) {
const configuredMarker = `${provider.name}_configured`;
await remove(configuredMarker, false);
}
}
onClose();