Connector User authentication issue
-
Hi All,
-
We have configured the connector in the tenant and user migration is disabled.
-
Once the user gets authenticated the copy of the user is getting created in the fusion auth.
-
If the connector is down users are not getting authenticated as expected its working.
-
If the connector is removed from the tenant configuration after that users are getting authenticated.
-
This is what we don’t want once the connector is removed all the user data should get cleared from the fusion auth.
-
How can we achieve this?
-
-
Do you mean you want to deactivate all users who were authenticating with a given connector? This is not a typical use case, so you'll need to write some code to do this.
If so, then I'd script the removal of the connector and at the same time mark all users associated with that connector as inactive (or you could hard delete them if you want).
The connectorId is not one of the searchable attributes for users, so the easiest way to do this would be to have your custom connector set an attribute on the
user.data
field, something likeuser.data.authDataSource
=clientXYZ
or similar.Then you could query for all users with that
user.data
value and deactivate or delete them.Hope that helps.