I have developed an ASP.NET Web API application to run on .NET 4.8. It generates JWT tokens using OAuth.
From my ASP.NET MVC application, I invoke above API endpoints to get access token.
Now, I have developed another Web API application on .NET 4.8 which needs authentication handled by the first Web API itself without writing entire OAuth code.
That is from my ASP.NET MVC application I call second Web API and this second Web API should call first Web API to get access token and send to my ASP.NET MVC application.
Can someone help me on how to achieve this?