1
0
mirror of https://github.com/quay/quay.git synced 2026-01-26 06:21:37 +03:00
Files
quay/web/playwright/e2e/auth
jbpratt c53a584264 fix(web): prevent signin page redirect loop (PROJQUAY-10090) (#4770)
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>
2026-01-05 16:27:04 -06:00
..