Skip to content

Latest commit

 

History

History
161 lines (120 loc) · 5.26 KB

File metadata and controls

161 lines (120 loc) · 5.26 KB
title BFF Samples
description A collection of sample applications demonstrating how to use the BFF security framework with different frontend technologies.
sidebar
order label
150
Overview
redirect_from
/bff/v2/samples/
/bff/v3/samples/
/identityserver/v5/samples/bff/
/identityserver/v6/samples/bff/
/identityserver/v7/samples/bff/

import { LinkCard } from "@astrojs/starlight/components";

This section contains a collection of clients using our BFF security framework.

JavaScript Frontend

This sample shows how to use the BFF framework with a JavaScript-based frontend (e.g. SPA).

ReactJs Frontend

This sample shows how to use the BFF framework with the .NET 6 React template.

Angular Frontend

This sample shows how to use the BFF framework with the .NET 8 Angular template.

Vue Frontend :badge[Community]

This sample shows how to use the BFF framework with the .NET 8 Vue template. (contributed by @Marco Cabrera)

Blazor WASM

This sample shows how to use the BFF framework with Blazor WASM.

Blazor Auto Rendering

This sample shows how to use Authentication in combination with Blazor's AutoRendering feature.

YARP Integration

This sample shows how to use the BFF extensions for Microsoft YARP.

OpenAPI and SwaggerUI

This sample shows how to use OpenAPI and SwaggerUI in combination with BFF. A walkthrough is available on the Duende blog.

Separate Host for UI

This sample shows how to have separate projects from the frontend and backend, using CORS to allow cross-site requests from the frontend to the backend.

Docker Hosting :badge[Community]

This sample shows how to host the BFF framework and IdentityServer with Docker. (contributed by @Marco Cabrera)

DPoP

This sample shows how to configure the BFF to use DPoP to obtain sender-constrained tokens.

Token Exchange using the IAccessTokenRetriever

This sample shows how to extend the BFF with an IAccessTokenRetriever. This example of an IAccessTokenRetriever performs token exchange for impersonation. If you are logged in as alice you will get a token for bob, and vice versa.

Feedback

Feel free to ask the developer community if you are looking for a particular sample and can't find it here.