Direct Authentication

This approach allows an external application to pass the Enerflo user credentials directly to Enerflo.

If the credentials are valid, Enerflo authenticates the user.


This process is facilitated with two steps:


  1. Supply the user credentials (email and password) to/api/auth/login (see reference documentation here)
    1. When successful, this will return an access_token
  2. Utilize the access_token value in a call to /api/auth/user (see reference documentation here)