> For the complete documentation index, see [llms.txt](https://docs.secuuth.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.secuuth.io/setup-configuration/identity-validation.md).

# Identity Validation

You can allow users from a selected domain or you can configure your API to allow only valid users.&#x20;

Once the API returns  userExists":"true" for the requested  id, e.g. for email "id":"<james@gmail.com>" or for phone  "id":"9196576XXXX". If the user exists he will be allowed to Login to your application.&#x20;

![](/files/hQmtpo42Tlv6up4bQeWC)

```
[{"emailID":"james@gmail.com","userExists":"true","additionalInfo":{"group":"core","role":"admin"},"id":"james@gmail.com"},
```
