I am struggling to understand how to implement the following scenario:
Given:
- Custom 3rd party Identity Server that supports oAuth2 implicit flow (I don't have access to internals, only can receive token)
- ASP.NET MVC app (Service Provider)
- ASP.NET WebAPI (provides 'Orders' endpoint that's being accessed from MVC app)
Problem:
Need to log-in to MVC app through Identity Server and then use the received JWT token to authenticate to WebAPI when requesting 'Orders' endpoint.
Is it a possible scenario and if yes then how do I do it?