I'm tasked with developing a backend service for a web application. I'm using .NET Core 6 and following the Microsoft documentation.
Based on this article (https://learn.microsoft.com/en-us/azure/active-directory/develop/authentication-flows-app-scenarios) I figured that my scenario is the "Protected web API" as my API is a REST service. There is a frontend application developed independently which should eventually receive the data from my service. So I created the default WeatherForecast application and started following this tutorial: https://learn.microsoft.com/en-us/azure/active-directory/develop/scenario-protected-web-api-overview
It now returns the code 401 when I try to test it in Swagger which is expected but how do I acquire a Bearer token for testing it in Postman?
I've never worked with the Microsoft identity platform before and I don't really have much experience with .NET Core either.
Thanks for any help