Monday, August 6, 2018

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?

Integration testing controllers with [Authorize] attribute (IdentityServer4) Click here
  • Blogger Comment
  • Facebook Comment

0 comments:

Post a Comment

The webdev Team