Img_0738_large

Kevin Rich

Configuring ASP.NET Core 2.0 Authentication

Global Authentication Filters for Projects for both OpenID Connect Users and JWT Bearer Token Daemons

Problem Statement

I'm building a ASP.NET Core 2.0 Web Application with MVC. I want the following:

  • MVC Controllers
    • Secured with Azure ActiveDirectory Authentication
    • Authentication Challenges should redirect user to the login page
  • WebApi controllers
    • Secured by JWT Bearer Tokens
    • Authentication Challenges should return 401 (Unauthorized) . . .

Read More

August 18, 2017

Archive

Cover image credit: http://whoiskevinrich.com