> For the complete documentation index, see [llms.txt](https://docs.readonlyrest.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.readonlyrest.com/develop/examples/impersonation/external-services-mocks-ui.md).

# Defining external services mock configurations

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://3824385214-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MIs6FnSQk86FxD8nNwy-659326392%2Fuploads%2Fgit-blob-b1b31d6694227c262999770b1f8d37a20b883d72%2Fauth_mock.png?alt=media)

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://3824385214-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MIs6FnSQk86FxD8nNwy-659326392%2Fuploads%2Fgit-blob-ea81624f89e8b011e5f2b236a129695abccf049c%2Fadd_edit_auth_mock_service.png?alt=media)
