Skip to content

Instantly share code, notes, and snippets.

View frzmohammadali's full-sized avatar

Mohammadali Forouzesh frzmohammadali

View GitHub Profile

A journey to build a central identity management service in .Net with Vue.js SPA frontend

Have you ever tried implementing authentication and authorization in .Net and felt like you are stuck with the default template of Asp.Net Core framework which only uses razor pages? I mean, using framework features is great but "Never Marry The Framework". In this article, I am going to walk you through my experience of implementing an OAuth and OpenID Connect central identity service which uses .Net featurs and capabilities while mainatning best practices and full control of the project design.

Preface

Every tools used in this article is available with free commercial licence. This article is suitable for intermediate to advance .Net programmers.

List of mentioned tools and libraries:

  • Asp.Net Core framework (of course!)
  • Openiddict library
  • Web API Empty project template