dotnet / aspnetcore

ASP.NET Core is a cross-platform .NET framework for building modern cloud-based web applications on Windows, Mac, or Linux.
https://asp.net
MIT License
34.95k stars 9.87k forks source link

Add CheckSessionInterval option to OIDC authentication #39589

Open gilm0079 opened 2 years ago

gilm0079 commented 2 years ago

Is there an existing issue for this?

Is your feature request related to a problem? Please describe the problem.

I've had issues in the past with the check session being too aggressive. I think I have my Blazor WASM project working correctly now, but it would be nice to have the option to work around the checksession loop issue that some experience. The issue I was experiencing is the checksession iframe would be stuck in a loop of executing the creation of a connect authorize iframe every 1 second. It is happening behind the scenes, but it gets very chatty on the wire and the browser keeps acting like it is loading.

Describe the solution you'd like

The oidc-client-js library allowed for setting the checkSessionInterval. Something exposed like this in the AddOidcAuthentication IServiceCollection extension options would be nice as a way to work around the looping issue or just make the check session less aggressive. I'm assuming those involved in this project know of oidc-client-js project, but here it is anyway.

https://github.com/IdentityModel/oidc-client-js/wiki

Additional context

No response

ghost commented 2 years ago

We've moved this issue to the Backlog milestone. This means that it is not going to be worked on for the coming release. We will reassess the backlog following the current release and consider this item at that time. To learn more about our issue management process and to have better expectation regarding different types of issues you can read our Triage Process.

ghost commented 8 months ago

We've moved this issue to the Backlog milestone. This means that it is not going to be worked on for the coming release. We will reassess the backlog following the current release and consider this item at that time. To learn more about our issue management process and to have better expectation regarding different types of issues you can read our Triage Process.