menu
techminis

A naukri.com initiative

google-web-stories
Home

>

Cloud News

>

ASP.NET Co...
source image

Damienbod

1w

read

409

img
dot

Image Credit: Damienbod

ASP.NET Core delegated Microsoft OBO access token management (Entra only)

  • This blog focuses on implementing a delegated Microsoft On-Behalf-Of flow in ASP.NET Core for access token management.
  • The solution uses Microsoft.Identity.Web to facilitate different flows and is straightforward to implement.
  • It allows requesting delegated access tokens for a user and another application, enabling secure access to protected resources.
  • Key components include secure token storage, robust handling of token expiration, and support for multi-instance deployments.
  • The article details setting up a web UI application, an API, and another API implementing the On-Behalf-Of flow.
  • Token management involves persistence, expiry, safe storage, and seamless operation post-restarts.
  • The example code provided demonstrates acquiring and using access tokens for the applications involved.
  • Different examples of Microsoft On-Behalf-Of flow integration with other services are also discussed in the article.
  • Microsoft's recommended practices for secure, delegated token exchange using the On-Behalf-Of flow are highlighted.
  • The article delves into various standards related to OAuth 2.0, JWT, and Microsoft identity platform for secure access.

Read Full Article

like

24 Likes

For uninterrupted reading, download the app