Skip to content

Commit 22ba6fe

Browse files
authored
Update YARP section (#35259)
1 parent b344ee1 commit 22ba6fe

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

aspnetcore/security/authentication/configure-jwt-bearer-authentication.md

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,24 @@ Some secure token servers encrypt the access tokens. Access tokens do not requir
281281

282282
## YARP (Yet Another Reverse Proxy)
283283

284-
[YARP (Yet Another Reverse Proxy)](https://dotnet.github.io/yarp/) is a good tool for handling HTTP requests and forwarding the requests to other APIs. YARP can implement security logic for acquiring new access credentials. YARP is frequently used in the [backend for frontend (BFF)](https://auth0.com/blog/the-backend-for-frontend-pattern-bff/) security architecture. [The Blazor Web App with OIDC documentation](/aspnet/core/blazor/security/blazor-web-app-with-oidc?pivots=with-bff-pattern) demonstrates using YARP to implement the BFF pattern.
284+
[YARP (Yet Another Reverse Proxy)](https://dotnet.github.io/yarp/) is a useful technology for handling HTTP requests and forwarding the requests to other APIs. YARP can implement security logic for acquiring new access credentials. YARP is frequently used when adopting [Backend for Frontend (BFF) security architecture](/azure/architecture/patterns/backends-for-frontends).
285+
286+
:::moniker range=">= aspnetcore-9.0"
287+
288+
For Blazor examples that use YARP to implement the BFF pattern, see the following articles:
289+
290+
* <xref:blazor/security/blazor-web-app-entra?pivots=bff-pattern>
291+
* <xref:blazor/security/blazor-web-app-oidc?pivots=bff-pattern>
292+
293+
:::moniker-end
294+
295+
:::moniker range="< aspnetcore-9.0"
296+
297+
For a Blazor example that uses YARP to implement the BFF pattern, see <xref:blazor/security/blazor-web-app-oidc?pivots=bff-pattern>.
298+
299+
:::moniker-end
300+
301+
For more information, see [auth0: The Backend for Frontend Pattern](https://auth0.com/blog/the-backend-for-frontend-pattern-bff/).
285302
286303
## Testing APIs
287304

0 commit comments

Comments
 (0)