mirror of
https://github.com/quay/quay.git
synced 2026-01-26 06:21:37 +03:00
When FEATURE_ANONYMOUS_ACCESS is disabled, API calls like /api/v1/messages return 401. The axios interceptor was unconditionally redirecting to /signin on 401 errors, causing an infinite loop when already on auth pages. Now checks if on /signin, /createaccount, or /oauth before redirecting. Signed-off-by: Brady Pratt <bpratt@redhat.com> Co-authored-by: Claude <noreply@anthropic.com>