mirror of
https://github.com/fosrl/pangolin.git
synced 2026-02-24 13:56:39 +00:00
edit oidc idp general tab
This commit is contained in:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user