Skip to content
This repository was archived by the owner on Jan 24, 2025. It is now read-only.

Latest commit

 

History

History
26 lines (18 loc) · 2.61 KB

README.md

File metadata and controls

26 lines (18 loc) · 2.61 KB

Backend for Frontend (BFF) YARP Integration

Securing SPAs and Blazor WASM applications once and for all.

Overview

Duende.BFF is a framework for building services that solve security and identity problems in browser based applications such as SPAs and Blazor WASM applications. It is used to create a backend host that is paired with a frontend application. This backend is called the Backend For Frontend (BFF) host, and is responsible for all of the OAuth and OIDC protocol interactions. Moving the protocol handling out of JavaScript provides important security benefits and works around changes in browser privacy rules that increasingly disrupt OAuth and OIDC protocol flows in browser based applications. The Duende.BFF library makes it easy to build and secure BFF hosts by providing session and token management, API endpoint protection, and logout notifications.

This package integrates the BFF with Microsoft's YARP (Yet Another Reverse Proxy). It allows you to proxy requests to external APIs using the full power of YARP, while also applying Duende.BFF's token management and security features.

Getting Started

For in-depth documentation, please see the Duende.BFF.Yarp documentation page.

Licensing

Duende.BFF.Yarp is source-available, but requires a paid license for production use.

  • Development and Testing: You are free to use and explore the code for development, testing, or personal projects without a license.
  • Production: A license is required for production environments.
  • Free Community Edition: A free Community Edition license is available for qualifying companies and non-profit organizations. Learn more here.

Reporting Issues and Getting Support

Related Packages

  • Duende.Bff - Framework for building browser based applications using the BFF pattern
  • Duende.Bff.EntityFramework - A store for Duende.BFF's server side sessions implemented with Entity Framework