Make the OIDC provider request timeout configurable #258

Closed
opened 2026-11-04 13:02:38 +00:00 by aaperis · 0 comments
aaperis commented 2026-11-04 13:02:38 +00:00 (Migrated from github.com)

Please describe the feature

As an sda admin, I want to be able to configure the timeout for requests to the OIDC provider so that sign-in doesn't fail when requests to the provider are slow to respond.

Detailed description

Default timeout for nextauth requests is 3.5s . The app when deployed at the sda cluster and connected to a live test ls-aai instance seems to surpass this timeout initially and thus fails to complete the user sign-in flow. The next attempt to sign-in succeeds; could be because of caching (not on the sdad side) that allows the request to get through.

The easiest fix is to

  • allow the timeout to be configurable upon deployment of the app.
## Please describe the feature As an sda admin, I want to be able to configure the timeout for requests to the OIDC provider so that sign-in doesn't fail when requests to the provider are slow to respond. ## Detailed description Default timeout for nextauth requests is 3.5s . The app when deployed at the sda cluster and connected to a live test ls-aai instance seems to surpass this timeout initially and thus fails to complete the user sign-in flow. The next attempt to sign-in succeeds; could be because of caching (not on the sdad side) that allows the request to get through. The easiest fix is to - [ ] allow the timeout to be configurable upon deployment of the app.
Sign in to join this conversation.
No description provided.