title: Secure ASP.NET Core 3.1 MVC app with KeyCloak
body: <p>I am trying to secure my ASP.NET Core 3.1 MVC app with KeyCloak.</p>
  <p>I tried few things:</p>
  <ul>
  <li>I used some of the examples available but they are either deprecated or done in .NET Core 2.1</li>
  <li>I found some KeyCloak adapters for .NET Core but they are not maintained for so long.</li>
  <li>I found one GitHub repo from <a href="https://github.com/thinktecture-labs/webinar-keycloak" rel="nofollow noreferrer">thinktecture-labs webinar for keycloak</a> securing Angular app and API but could not figure out the KeyCloak client configuration as well as how to connect it to ASP.NET Core MVC app in a similar way.</li>
  </ul>
  <p>I would really appreciate it if you can guide me with any blog, GitHub repo, or a simple example that shows how to secure an ASP.NET Core 3.1 MVC app with KeyCloak. Thanks a lot in advance.</p>