EMS Native Authentication

Authenticate users via Everyday Application User (emsuser) credentials stored in the EMS database. The following example shows the default configuration that ships with EMS Mobile App.

After successful connection to EMS Platform Services, the user will:

  1. Enter their credentials on the Sign In screen.
  2. Tap Sign In.

    The Home page opens.

If the credentials are missing or invalid when the user taps Sign In, an error message appears.

Test Your EMS Native Authentication

If you installed the EMS Platform Services at https://Yourcompany.com/EmsPlatform, then you can test the authentication with a curl command:

curl -X POST -H 'x-ems-consumer: MobileApp' -H 'Content-Type: application/json' -d '{"username":
"your_username", "password":"your_password"}' https://ems.yourcompany.com/endpoint...authentication

...where your_username and your_password are your credentials.

api/v1/authentication is the endpoint within the API where your request must be sent.