AxaFrance / oidc-client

Light, Secure, Pure Javascript OIDC (Open ID Connect) Client. We provide also a REACT wrapper (compatible NextJS, etc.).
MIT License
570 stars 152 forks source link

fix(oidc): decrease minSleepSeconds value to prevent falsy errors and logs (alpha) #1355

Open krzempekk opened 2 months ago

krzempekk commented 2 months ago

This should fix #1350

A picture tells a thousand words

Before this PR

minSleepSeconds parameter was set to 150, which caused issues on some browsers. A lot of errors (that don't have any impact on functionality) originating from keep-alive requests were logged.

After this PR

minSleepSeconds parameter is decreased to 20, which is a safe value. It should prevent falsy errors from displaying.