Can I do authentication from my server by passing email and password to auth0 (database connection)

I wanted to do the authentication as follows

  1. User will visit my client application and provide email & password and request my API say api.example.com.
  2. At my server (api.example.com), I will request auth0 (maybe with database connection) to validate email and password and request client credentials grant token(s) - Nope auth0 will take care of email and password validity.
  3. Once I’ve got a response from auth0, my server will send back the tokens to the client application.

Is the above mentioned scenario possible with auth0? I’ve searched some of the links in auth0 but could not find one that meets my brequirement.

Hi @tilak-milknmore,

Welcome to the Community!

Have you looked at this flow yet? It sounds like it may fit your needs.

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.