You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
oabrivard d081c47c7f fix: prevent 401 redirect loop on login and register pages
The API client redirected to /login on any 401 response, including the
GET /auth/me call made by AuthProvider on the login page itself. This
caused an infinite hard-navigation reload loop.

Skip the redirect when already on /login or /register — the AuthContext
route guards handle unauthenticated routing for those pages.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2 months ago
..
public
src fix: prevent 401 redirect loop on login and register pages 2 months ago
index.html
package-lock.json
package.json
tsconfig.json
vite.config.ts