Skip to content

Commit 56eb51d

Browse files
authored
feat: SCIM provisioning conflict resolutions (#8344)
1 parent e0f5255 commit 56eb51d

24 files changed

Lines changed: 1023 additions & 155 deletions

integration-tests/testkit/flow.ts

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import type {
66
AddMetricAlertRuleInput,
77
AnswerOrganizationTransferRequestInput,
88
AssignMemberRoleInput,
9+
ConfirmScimManagementForMemberInput,
910
CreateContractInput,
1011
CreateMemberRoleInput,
1112
CreateOrganizationAccessTokenInput,
@@ -2247,6 +2248,38 @@ export function createOIDCIntegration(
22472248
});
22482249
}
22492250

2251+
export function confirmSCIMManagementForMember(
2252+
input: ConfirmScimManagementForMemberInput,
2253+
authToken: string,
2254+
) {
2255+
return execute({
2256+
document: graphql(`
2257+
mutation TestKit_ConfirmSCIMManagementForMember(
2258+
$input: ConfirmSCIMManagementForMemberInput!
2259+
) {
2260+
confirmSCIMManagementForMember(input: $input) {
2261+
ok {
2262+
confirmedMember {
2263+
id
2264+
user {
2265+
id
2266+
provisionInfo {
2267+
provisioningStatus
2268+
}
2269+
}
2270+
}
2271+
}
2272+
error {
2273+
message
2274+
}
2275+
}
2276+
}
2277+
`),
2278+
variables: { input },
2279+
authToken,
2280+
});
2281+
}
2282+
22502283
export function updateOIDCIntegration(input: UpdateOidcIntegrationInput, authToken: string) {
22512284
return execute({
22522285
document: graphql(`

0 commit comments

Comments
 (0)