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
{{ message }}
Repository navigation
chore: userinfo coalescing, check-config app use #702
#615 added userinfo_cache_ttl (PR #669). Concurrent cache misses for the same token still each call the issuer's user info endpoint (foca/security/auth.py): the code only makes sure that a slow response doesn't replace a newer one. Neither #615 nor #669 covers this. Shorter TTLs make such misses more frequent.
To do: decide whether concurrent requests for one token should share one fetch per process. Requests must not get a response that started before a revocation they should see any more than today, and with validate_userinfo, every validation keeps its own fetch.
#621 asks the CLI to build the config "without creating the web app". foca check-config calls create_app() with the startup switches off (_create_app_without_writes in foca/cli.py, as docs/cli.md says), so it does create the app, in order to run the startup checks.
To do: either run the config loading and startup checks without creating the app, or decide that the current way stays, as those checks need the app.
Acceptance criteria
Each point is decided; if the behaviour changes, with tests and docs.
Activity