How to implement App2App Oauth2 flow

Hello,

We want to implement app2app Oauth2 flow, (similar to Authorization code flow from from app to app) ie no web login or web redirect involved between provider and client apps.

is there any way for provider to get the Authorization code via API that provider app can be pass to client app after auth? ie the Authorization code is only through web right now from /authorize.

So, how to get Authorization code from auth0 by our (provider) app, to be passed to our partner app, which doesn’t talk to Auth0 directly.

Have you guys found a solution for this?