Yarp Security Api And UI screenshot

Yarp Security Api And UI

Author Avatar Theme by Fdonnet
Updated: 3 Mar 2025
59 Stars

Security layer (API) that you can use to protect your Yarp routes and the apis behind it. A Blazor ui is available to configure your things (subscriptions and tenants management included). A Sveltekit client is included as a very simple client.

Overview

The Yarp Security API and UI is an innovative security solution designed to enhance the protection of backend systems. With the ability to act as a proxy, it supports various OAuth and OpenID Connect providers, providing flexibility for developers who want to maintain independence in their security design. This alpha version is particularly appealing for those needing a robust framework that accommodates multiple tenants and subscription-based management while allowing integration with various front-end technologies like Blazor, Next.js, and SvelteKit.

As a draft template, Yarp aims to give developers a solid foundation for creating secure applications. The optional security UI simplifies the initial setup, making it easier to bootstrap projects quickly. While this version is still in development, its features promise significant potential for building secure, scalable applications.

Features

  • Flexible Authentication Options: Compatible with any OAuth/OpenID Connect provider, including Keycloak, allowing users to choose their preferred security framework.

  • Optional Security UI: Simplifies bootstrapping by providing a Blazor-based security UI, enabling quick access to user management and subscription controls.

  • Multi-Tenant Management: Designed to efficiently manage subscriptions and support multiple tenants, promoting a streamlined experience for various users.

  • Integration Capability: Easily integrates with front-end frameworks like Blazor, Next.js, and SvelteKit, as well as back-end APIs, ensuring versatility and adaptability.

  • Real-Time Features with SignalR: The inclusion of SignalR for real-time app integration adds dynamic capabilities to user interactions, helping to create responsive and engaging experiences.

  • Customizable Architecture: Flexible configuration options allow developers to modify the setup according to specific requirements, including compatibility with Azure Service Bus and the ability to adjust caching mechanisms.

  • Full SPA Support: Facilitates the development of single-page applications (SPAs) by enabling modifications to be made to use Yarp as a complete Backend for Frontend (BFF) solution.

  • Warning on Security Practices: Important reminders are included to caution users against using public secrets and suggest creating unique configurations for production environments, which emphasizes safe development practices.