I\'ve a solution in Visual Studio \'TourManagement\' which contains 2 projects of .Net core. One is IDP using Identity Server 4, second project is RESTful API of TourManagement
I wrote an entire step by step tutorial on how to make this happen, because the answers to this topic were'nt good enough for me.
What is different to the other responses, is how to get and store the bearer token automatically and use it for testing without having to do anything else. Perfect for integration testing your controller classes.
https://medium.com/@rotter.axel/automatically-sign-in-to-identity-server-4-with-postman-and-test-net-core-controller-methods-bc5d8feb199e