diff --git a/mnemo_cards_backend/lib/api/v2/authorize_v2.dart b/mnemo_cards_backend/lib/api/v2/authorize_v2.dart index b596a87..42a72b2 100644 --- a/mnemo_cards_backend/lib/api/v2/authorize_v2.dart +++ b/mnemo_cards_backend/lib/api/v2/authorize_v2.dart @@ -62,6 +62,7 @@ Middleware authorizeV2(UserManager userManager, JwtService jwtService) { // Check for dynamic auth paths (e.g., /auth/telegram/code-status/) if (normalizedPath.startsWith('/auth/telegram/code-status') || normalizedPath.startsWith('/admin/auth/request-code') || + normalizedPath.startsWith('/admin/auth/code-status') || normalizedPath.startsWith('/admin/auth/verify-code')) { // Code status endpoint is public (used before authentication) return await innerHandler(request);