microsoftgraph / aspnet-snippets-sample

A repository of code snippets that use Microsoft Graph to perform common tasks such as sending email, managing groups, and other activities from an ASP.NET Core MVC app. This sample uses the Microsoft Graph .NET Client Library to work with data, and the Microsoft Identity Web Library for authentication on the Microsoft identity platform v2.0 endpoint.
MIT License
189 stars 101 forks source link

Missing Areas? #73

Closed philipstratford closed 1 year ago

philipstratford commented 1 year ago

This sample project has an anchor tag on the home page (<a class="btn btn-primary btn-large" asp-area="MicrosoftIdentity" asp-controller="Account" asp-action="SignIn">Click here to sign in</a>) which seems to point to an area named MicrosoftIdentity, but the project does not appear to contain any area definitions, and this link appears to point to nowhere.

jasonjoh commented 1 year ago

@philipstratford that area is added by the Microsoft.Identity.Web.UI package. Following that link should kick of the auth process (redirecting to login.microsoftonline.com).