4a39d44211
SW doesn't reliably intercept <img> requests (no-cors mode). Use a thin AuthImg component that loads images via axios (which has the Bearer token) and displays them as blob URLs. Audio streaming still works via SW. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
auth-app
Проект состоит из двух частей:
client- Vite + React + TypeScriptserver- Express + TypeScript + OIDC авторизация
Запуск
- Скопируй
server/.env.exampleвserver/.envи заполни OIDC параметры.- Если нужно запустить без авторизации, поставь
DISABLE_AUTH=true(OIDC параметры тогда не требуются).
- Если нужно запустить без авторизации, поставь
- В одном терминале:
cd servernpm run dev
- В другом терминале:
cd clientnpm run dev
Клиент откроется на http://localhost:5173, сервер на http://localhost:3001.