raulbojalil / adaljs-sample

A sample project on how to call an Azure AD protected ASP.NET Core Web API from a SPA

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ADAL.js Sample

This sample shows how to use ADAL.js to retrieve an Azure AD token to call protected Web API endpoints. Useful for SPA applications (Angular, Vue.js, etc.) that need to access a protected ASP.NET Core Web API. This also shows how to implement Azure AD group-based authorization.

Just create an App Registration in Azure, grant login permissions to it and configure the settings accordingly in appsettings.json.

About

A sample project on how to call an Azure AD protected ASP.NET Core Web API from a SPA


Languages

Language:C# 63.1%Language:HTML 36.9%