Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/damienbod/onbehalfflowoidcdownstreamapi

This demo shows how to implement the On Behalf Of flow between an Microsoft Entra ID protected API and an API protected using OpenIddict.
https://github.com/damienbod/onbehalfflowoidcdownstreamapi

aad access-token aspnetcore azuread bearer dotnet entra jwt oauth oauth2 obo openiddict token-exchange

Last synced: 3 months ago
JSON representation

This demo shows how to implement the On Behalf Of flow between an Microsoft Entra ID protected API and an API protected using OpenIddict.

Awesome Lists containing this project

README

        

# On Behalf Of Flow

[![.NET](https://github.com/damienbod/OnBehalfFlowOidcDownstreamApi/actions/workflows/dotnet.yml/badge.svg)](https://github.com/damienbod/OnBehalfFlowOidcDownstreamApi/actions/workflows/dotnet.yml)

https://damienbod.com/2022/10/03/implement-the-on-behalf-of-flow-between-an-azure-ad-protected-api-and-an-api-protected-using-openiddict/

This demo shows how to implement the On Behalf Of flow between a Microsoft Entra ID protected API and an API protected using OpenIddict.

![OBO](https://github.com/damienbod/OnBehalfFlowOidcDownstreamApi/blob/main/images/obo_aad_openiddict_01.png)

## History

- 2024-11-01 Updated packages
- 2024-10-07 Updated packages
- 2024-05-08 Updated packages
- 2023-12-09 Updated .NET 8
- 2023-11-03 Updated packages
- 2023-09-22 Updated packages
- 2023-04-28 Updated packages
- 2022-12-24 Updated to .NET 7, added Microsoft Entra ID delegated token validation

## Links

https://learn.microsoft.com/en-us/azure/active-directory/develop/v2-oauth2-on-behalf-of-flow

https://documentation.openiddict.com/configuration/application-permissions.html

https://datatracker.ietf.org/doc/html/rfc8693

https://stackoverflow.com/questions/61536846/difference-between-jwt-bearer-and-token-exchange-grant-types

https://github.com/damienbod/OAuthGrantExchangeOidcDownstreamApi