Firstly, I still cannot reliably reproduce the bug. It is reproduced on freshly-deployed instance, but after some time it magically disappeares.
After some investigation, the issue was localized to middleware, auth_token.py:AuthProtocol._validate_user_token. Sometimes pki-related methods are called despite uuid provider being set in config.
IMO, the issue is somehow related to cache. Will check that tomorrow.
Firstly, I still cannot reliably reproduce the bug. It is reproduced on freshly-deployed instance, but after some time it magically disappeares.
After some investigation, the issue was localized to middleware, auth_token. py:AuthProtocol ._validate_ user_token. Sometimes pki-related methods are called despite uuid provider being set in config.
IMO, the issue is somehow related to cache. Will check that tomorrow.