# Defining external services mock configurations

External services mock is used to simulate the response of existing authentication or authorization service like LDAP. You don't need to create a user account for configuration testing. You will only need to define users (and their associated groups) that would normally be returned by the external services, listed in test settings.

![Auth mock](https://2649711535-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MIs6FnSQk86FxD8nNwy-887967055%2Fuploads%2Fgit-blob-b1b31d6694227c262999770b1f8d37a20b883d72%2Fauth_mock.png?alt=media\&token=3416cc20-5254-447e-a85b-d77a29797768)

After clicking add/edit user buttons (1), you will see a dialog with an option to add (2) or remove (3) user from an external service mock

![Add/edit external mock service](https://2649711535-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MIs6FnSQk86FxD8nNwy-887967055%2Fuploads%2Fgit-blob-ea81624f89e8b011e5f2b236a129695abccf049c%2Fadd_edit_auth_mock_service.png?alt=media\&token=366872c1-ea0c-46c2-90a5-2badbbc45452)
