mirror of
https://github.com/fosrl/pangolin.git
synced 2026-04-29 09:12:56 +00:00
dont set org mapping by default
This commit is contained in:
@@ -154,16 +154,11 @@ export async function createOrgOidcIdp(
|
||||
variant
|
||||
});
|
||||
|
||||
const orgMapping =
|
||||
orgMappingBody !== undefined
|
||||
? orgMappingBody
|
||||
: `'${orgId}'`;
|
||||
|
||||
await trx.insert(idpOrg).values({
|
||||
idpId: idpRes.idpId,
|
||||
orgId: orgId,
|
||||
roleMapping: roleMapping || null,
|
||||
orgMapping
|
||||
orgMapping: orgMappingBody
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user