{"repo":"fdonnet/yarp-security-api-and-ui","free":true,"listed":false,"github":"https://github.com/fdonnet/yarp-security-api-and-ui","clone":"git clone https://github.com/fdonnet/yarp-security-api-and-ui.git","description":"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.","language":"C#","stars":60,"topics":["api","blazor","blazor-fluentui","csharp","masstransit","oauth","openid-connect","security","yarp","multitenant"],"license":"MIT","category":"security-tools","readme_excerpt":"Yarp-security-api-and-ui (alpha) - A security API to protect your backend. - Yarp proxy as an entry point. - Compatible with any OAuth/OpenID Connect provider (e.g., Keycloak). - Optional security UI for quick bootstrapping (Blazor, and components in auto mode). - Designed to manage subscriptions and multi-tenants. - SignalR example in Sveltkit project (realtime app) Goal This project allows you to choose any OAuth provider and remain independent in terms of your security design. You can add any frontend (Blazor, Next.js, SvelteKit) or backend APIs in front or behind this security layer. For a full SPA, you can modify Yarp to be a full BFF (Backend for Frontend). Usage Consider this project as a draft template rather than a complete setup. Customize it based on your needs. Yarp, with the support of the Security API, will protect your backend with its powerful authorization handler mechanism and will forward your calls to your backends with the needed information (userid, tenantid) encoded in the headers. Warning: Never use any of the secrets exposed here and never use the Keycloak realm file to protect a real project exposed on the web. Always recreate your own secrets and configurations. Warning: It's an alpha project, don't go on prod before strong validation on your side... Running the Project 1. Run the Aspire AppHost. 2. Access the Blazor Security UI. User accounts for login in Security UI: User Password Actions ------ ------------- ------ adminuser admin can manage syst","default_branch":null,"files":null,"tree":[],"storefront":"/r/fdonnet","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/fdonnet/yarp-security-api-and-ui/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}