When we were fixing issues with ory integration in app-config, we encountered issues which seemned to be related to the caching behaviour in TokenValidator.kt.
We set the fetch timeout to 1 millisecond instead of 1 minute, so that if errors are encountered during fetching, there is (virtually) no wait time.
We should check if this is the desired behaviour
When we were fixing issues with ory integration in app-config, we encountered issues which seemned to be related to the caching behaviour in TokenValidator.kt.
We set the fetch timeout to 1 millisecond instead of 1 minute, so that if errors are encountered during fetching, there is (virtually) no wait time.
We should check if this is the desired behaviour