@manhng

Welcome to my blog!

Microsoft Graph

August 17, 2020 14:31

Work with Microsoft Graph (edit)

Visual Studio 2019 with .NET Core 3.1 SDK

ADAL (Azure AD v1.0) and MSAL (Azure AD v2.0)

https://docs.microsoft.com/en-us/samples/microsoftgraph/aspnetcore-connect-sample/microsoft-graph-connect-sample-for-aspnet-core-31/

https://docs.microsoft.com/en-us/azure/active-directory/develop/quickstart-v2-aspnet-webapp

OpenID Connect in ASP.NET Core

https://andrewlock.net/an-introduction-to-openid-connect-in-asp-net-core/

https://deblokt.com/2020/01/24/01-identityserver4-quickstart-net-core-3-1/

https://deblokt.com/2020/01/24/02-identityserver4-entityframework-net-core-3-1/

https://vmsdurano.com/apiboilerplate-and-identityserver4-access-control-for-apis/

https://awesomeopensource.com/project/damienbod/AspNet5IdentityServerAngularImplicitFlow

https://buildmedia.readthedocs.org/media/pdf/identityserver4/release/identityserver4.pdf

https://fullstackmark.com/post/22/build-an-authenticated-graphql-app-with-angular-aspnet-core-and-identityserver-part-1

https://christianlydemann.com/openid-connect-with-angular-8-oidc-part-7/

https://devblogs.microsoft.com/aspnet/bearer-token-authentication-in-asp-net-core/

https://github.com/Deblokt/IdentityServer4Demos.NETCore31 (HAY HAY HAY)

https://www.brunobrito.net.br/aspnet-core-identityserver4/

https://anthonygiretti.com/2018/10/29/common-features-in-asp-net-core-2-1-webapi-authentication-with-a-jwt/

https://hansamaligamage.blogspot.com/2017/02/secure-your-netcore-web-applications.html

https://code-maze.com/wp-content/uploads/2020/06/Bonus-6-Table-of-Content.pdf

https://www.jerriepelser.com/blog/overriding-name-claimtype-aspnetcore-oidc/

https://www.gfxtra31.com/tutorials/programming/1344814-complete-aspnet-core-31-and-entity-framework-development.html

https://lurumad.github.io/identityserver4-retrieving-an-user-s-email-from-twitter-external-login-account

https://www.codeproject.com/Articles/5160941/ASP-NET-CORE-Token-Authentication-and-Authorizatio

https://www.edument.se/en/blog/post/kursnyhet-asp-net-core-med-openid-connect-och-identityserver

https://devblogs.microsoft.com/aspnet/upcoming-samesite-cookie-changes-in-asp-net-and-asp-net-core/

https://identityserver4.readthedocs.io/en/latest/quickstarts/2_interactive_aspnetcore.html

https://pradeeploganathan.com/patterns/repository-and-unit-of-work-pattern-asp-net-core-3-1/

https://fullstackmark.com/post/21/user-authentication-and-identity-with-angular-aspnet-core-and-identityserver

https://stackoverflow.com/questions/60858985/addopenidconnect-and-refresh-tokens-in-asp-net-core

https://docs.identityserver.io/_/downloads/en/latest/pdf/

https://www.jerriepelser.com/blog/authenticate-oauth-aspnet-core-2/

https://www.blinkingcaret.com/2018/05/30/refresh-tokens-in-asp-net-core-web-api/

https://ppolyzos.com/2017/10/30/add-jwt-bearer-authorization-to-swagger-and-asp-net-core/

https://www.keycloak.org/docs/4.8/authorization_services/

https://nahidfa.com/posts/blazor-webassembly-authentication-and-authorization-with-identityserver4/

  • Azure Active Directory
  • OpenID Connect
  • ASP.NET Application ~ WebApp
  • ASP.NET & OWIN
  • Cookie-Based Authentication
  • Microsoft Identity Platform
    • ClientId ~ ApplicationId
    • Authority ~ Include TenantId
    • RedirectUri
    • PostLogoutRedirectUri
    • Scope
    • ResponseType
    • TokenValidationParameters
    • Notifications
  • OWIN middleware
    • Install-Package Microsoft.Owin.Security.OpenIdConnect
    • Install-Package Microsoft.Owin.Security.Cookies
    • Install-Package Microsoft.Owin.Host.SystemWeb
  • Microsoft 365 Developer Program
  • Products 
    • Azure AD
    • Office 365
    • Outlook
  • Technologies
    • Office Add-ins
    • Microsoft Graph
    • Microsoft identity platform
    • Office UI Fabric
  • Applications will need to be upgraded to Microsoft Authentication Library (MSAL) and Microsoft Graph.

Microsoft identity platform overview

https://docs.microsoft.com/en-us/azure/active-directory/develop/v2-overview

Authentication and authorization in Azure App Service and Azure Functions

https://docs.microsoft.com/en-us/azure/app-service/overview-authentication-authorization

Quickstart: Register an application with the Microsoft identity platform

https://azure.microsoft.com/en-us/resources/security-best-practices-for-azure-solutions/

OAuth 2.0 and OpenID Connect protocols on Microsoft identity platform

https://docs.microsoft.com/en-us/azure/active-directory/develop/active-directory-v2-protocols

Microsoft Graph Explorer

https://developer.microsoft.com/en-us/graph/graph-explorer

Add Microsoft identity platform sign-in to an ASP.NET web app

https://docs.microsoft.com/en-us/azure/active-directory/develop/quickstart-v2-aspnet-webapp

Add Microsoft identity platform sign-in to an ASP.NET web app (Source Code)

https://github.com/AzureADQuickStarts/AppModelv2-WebApp-OpenIDConnect-DotNet/archive/master.zip

Use OpenID Connect to sign in users to Microsoft identity platform (formerly Azure Active Directory for developers) and execute Microsoft Graph operations using incremental consent

https://github.com/Azure-Samples/ms-identity-aspnet-webapp-openidconnect

Build ASP.NET MVC web applications with the Microsoft Graph .NET SDK

https://docs.microsoft.com/en-us/learn/modules/msgraph-build-aspnetmvc-apps/

Microsoft 365 Developer Program

https://developer.microsoft.com/en-us/microsoft-365/

Categories

Recent posts