dotnet / dotnet/aspnetcore

PAR (pushed authorization requests) are not retried

Open
#66,598 1 comment 0 reactions 0 assignees View on GitHub
area-auth question
Dominant language
C#
Stars
38.4k
Forks
10.9k
Avg merge
2d 6h
Merged PRs (30d)
290

Description

The connection between our site and our IdP is sometimes experiencing minor connection difficulties. It looks like pushed authorization requests (introduced by our switch from .NET 8 to .NET 10) from our Application to the IdP sometimes fail and are not retried at all. This problems (=HttpRequestExceptions) are bubbled up and ultimately trigger a 500 error during authentication.

Is there a reason why options.Backchannel from the OpenIdConnectOptions is a HttpClient without any resilience pipeline in place? If not, I can simply set the Backchannel property to an HttpClient instance with one in place and thereby resolve these connection problems, right?

Best regards,
D.R.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.