How to call Identity Server 4 with Postman for login

前端 未结 2 2211
傲寒
傲寒 2021-02-02 17:19

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

2条回答
  •  甜味超标
    2021-02-02 18:03

    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

提交回复
热议问题