File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -190,6 +190,11 @@ export default class ConnectionsHandler extends DefaultAPIHandler {
190
190
config : this . config ,
191
191
} ) ;
192
192
193
+ // We add the expected changes to the scimHandler so it can track the progress of the SCIM changes.
194
+ // This is necessary because import / deploy actions are concurrent and we need to know when all updates are complete.
195
+ const { update, create, conflicts } = proposedChangesWithExcludedProperties ;
196
+ this . scimHandler . expectedChanges = update . length + create . length + conflicts . length ;
197
+
193
198
return proposedChangesWithExcludedProperties ;
194
199
}
195
200
Original file line number Diff line number Diff line change @@ -25,6 +25,8 @@ interface ScimScopes {
25
25
delete : boolean ;
26
26
}
27
27
28
+ interface ScimScopes { read : boolean ; create : boolean ; update : boolean ; delete : boolean }
29
+
28
30
/**
29
31
* The current version of this sdk use `node-auth0` v3. But `SCIM` features are not natively supported by v3.
30
32
* This is a workaround to make this SDK support SCIM without `node-auth0` upgrade.
You can’t perform that action at this time.
0 commit comments