Authenticate auth0 user via API without login screen

Hi, I’ve been working with auth0 for some a bit and set up the basic authorization flow where users can register and log in on the frontend via auth0’s interface, but I was wondering how can I authenticate users via an API connection? I was trying to set up a system where users can hit our API with credentials which in turn goes to auth0’s authentication API to give them their access token for further API access, but noticed that this will 302 redirect to the login screen, which I don’t want, I would like it to all be via REST. I’ve realized that provider integration probably makes this very complicated, but was wondering if auth0 actually supports something like this.

Hi @techadmin,

Welcome to the Auth0 Community!

You are looking for the Resource Owner Password Flow. Let me know if you have any questions!

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