Fix biometric auth TypeScript errors
Some checks failed
CI/CD Pipeline / Lint and Test (push) Has been cancelled
CI/CD Pipeline / E2E Tests (push) Has been cancelled
CI/CD Pipeline / Build Application (push) Has been cancelled

- Add LOGIN_BIOMETRIC to AuditAction enum
- Import AuditAction and EntityType in AuthService
- Fix loginWithExternalAuth return type to match AuthResponse interface
- Update biometric API client to use correct response structure
- Update login page to access tokens from nested data structure

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-10-02 05:50:57 +00:00
parent 5a7202cf5b
commit ff69848ec5
4 changed files with 29 additions and 23 deletions

View File

@@ -91,7 +91,7 @@ export default function LoginPage() {
);
// Store tokens and navigate
tokenStorage.setTokens(result.tokens.accessToken, result.tokens.refreshToken);
tokenStorage.setTokens(result.data.tokens.accessToken, result.data.tokens.refreshToken);
router.push('/');
} catch (err: any) {
console.error('Biometric login failed:', err);