Use Auth0.auth.loginWithEmail To Auth Mobile App + API

Hello!

We are trying to set up a self-managed auth scheme (using Auth0.auth.loginWithEmail) to login a user, then using the access-token generated from auth.loginWithEmail to grant access to our API using Passport against our Auth0 .well-known file. We keep getting a 401 response, as it seems the user is not logged in. I can successfully log into the app, however.

Is this flow possible? If so, can you point out some docs or helpful tips? I do not know how to get both the app and the API to auth off of the same value. I followed this tutorial (though I do understand it’s for SPAs): Full-Stack TypeScript Apps: Developing a Secure API with NestJS

Any help would be appreciated!