Integration testing controllers with [Authorize] attribute (IdentityServer4)
I've managed to configure IdentityServer4 for WebAPI, now I need to test controllers that require authentication. Unfortunately, I don't see anything useful about integration testing of protected controllers in asp.net docs or IdentityServer docs. Are there any official ways of how it could be done?
0 comments:
Post a Comment