Make the OIDC provider request timeout configurable #258
Labels
No labels
backend
bug
CI
dependencies
design
documentation
duplicate
enhancement
frontend
github_actions
good first issue
help wanted
invalid
javascript
question
refactoring
security
tooling
UX
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
NBIS/sda-download-ui#258
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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