AxaFrance / oidc-client

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

react-oidc: useOidcFetch unnecessary console log entry "newFetch" #1262

Closed Ediste closed 5 months ago

Ediste commented 5 months ago

Issue and Steps to Reproduce

Each time useOidcFetch is used, an entry with newFetch and the corresponding route is displayed in the console. This is messy in a production system. Could this be removed or perhaps made configurable by a LogLevel?

Versions

7.13.14

Screenshots

image

Expected

Remove console.logs for fetches

Actual

Console log entry for each fetch

guillaume-chervet commented 5 months ago

Thank you very much @Ediste,

Fresh version 7.13.15 fix this.

Ediste commented 5 months ago

Thank you for the fast response and fix. The console logs are now gone in the latest version (7.13.15). Great work!