Skip to content

Latest commit

 

History

History
173 lines (129 loc) · 5.59 KB

File metadata and controls

173 lines (129 loc) · 5.59 KB
title Backend For Frontend (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 React.

Angular Frontend

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

Vue Frontend :badge[Community]

This sample shows how to use the BFF framework with Vue. (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

This sample shows how to use OpenAPI in combination with BFF.

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 for DPoP so that it uses 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.

New User Onboarding with Blazor Auto Rendering :badge[Community]

This sample shows how to extend the BFF in a scenario where a new user needs to onboard to the application and the additional information does not need to be provided/stored with the identity provider. Instead, the onboarding flow stores additional data in the application database.

Feedback

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