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 {
190190 config : this . config ,
191191 } ) ;
192192
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+
193198 return proposedChangesWithExcludedProperties ;
194199 }
195200
Original file line number Diff line number Diff line change @@ -25,6 +25,8 @@ interface ScimScopes {
2525 delete : boolean ;
2626}
2727
28+ interface ScimScopes { read : boolean ; create : boolean ; update : boolean ; delete : boolean }
29+
2830/**
2931 * The current version of this sdk use `node-auth0` v3. But `SCIM` features are not natively supported by v3.
3032 * 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