edit oidc idp general tab

This commit is contained in:
miloschwartz
2025-04-17 22:30:02 -04:00
parent 3e94384cde
commit 8c0e4d2d8c
10 changed files with 779 additions and 22 deletions

View File

@@ -105,7 +105,7 @@ export default function Page() {
emailPath: data.emailPath,
namePath: data.namePath,
autoProvision: data.autoProvision,
scopes: data.scopes.split(" ").filter(Boolean)
scopes: data.scopes
};
const res = await api.put("/idp/oidc", payload);
@@ -115,7 +115,7 @@ export default function Page() {
title: "Success",
description: "Identity provider created successfully"
});
router.push("/admin/idp");
router.push(`/admin/idp/${res.data.data.idpId}`);
}
} catch (e) {
toast({