You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When setting the global timout to 0, it remains at the default value even though 0. This is normally an accepted value that would disable the timeout completely.
To Reproduce
Issuer and Client configuration: (inline or gist) - Don't forget to redact your secrets.
Call an extremely slow server (e.g. using Issuer.discover)
Observe that a timeout error is thrown with the message RPError: outgoing request timed out after 3500ms
Expected behaviour
There should not be a timout error or at least not one generated by openid-client. 3500ms is the default timeout imposed by this library, which leads me to believe that overriding the timeout did not have any effect
Environment:
openid-client version: 5.0.2
node version: 12.22.5
Additional context
The issue is most likely in the pick function, which checks for thruthy values whn selecting things.
the bug is happening on latest openid-client too.
i have searched the issues tracker on github for similar issues and couldn't find anything related.
The text was updated successfully, but these errors were encountered:
Describe the bug
When setting the global timout to 0, it remains at the default value even though 0. This is normally an accepted value that would disable the timeout completely.
To Reproduce
Issuer and Client configuration: (inline or gist) - Don't forget to redact your secrets.
Steps to reproduce the behaviour:
Issuer.discover
)RPError: outgoing request timed out after 3500ms
Expected behaviour
There should not be a timout error or at least not one generated by openid-client. 3500ms is the default timeout imposed by this library, which leads me to believe that overriding the timeout did not have any effect
Environment:
Additional context
The issue is most likely in the
pick
function, which checks for thruthy values whn selecting things.The text was updated successfully, but these errors were encountered: