wing-ops/frontend
htlee 7743e40767 feat(auth): Google OAuth 로그인 연동
- google-auth-library로 Google ID Token 검증 (backend)
- @react-oauth/google GoogleLogin 컴포넌트 (frontend)
- gcsc.co.kr 도메인 자동 승인(ACTIVE), 기타 도메인 PENDING
- 기존 ID/PW 사용자와 OAuth 사용자 동일 계정 체계 통합
- AdminView: 사용자 인증방식(Google/ID PW) 뱃지 표시
- AdminView: OAuth 자동 승인 도메인 설정 UI
- deploy.yml: VITE_GOOGLE_CLIENT_ID 빌드 환경변수 추가
- nginx: Cross-Origin-Opener-Policy 헤더 추가

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-27 16:42:59 +09:00
..
public feat(auth): Google OAuth 로그인 연동 2026-02-27 16:42:59 +09:00
src feat(auth): Google OAuth 로그인 연동 2026-02-27 16:42:59 +09:00
.env.example chore: 프로젝트 초기 구성 2026-02-27 11:06:21 +09:00
eslint.config.js chore: 프로젝트 초기 구성 2026-02-27 11:06:21 +09:00
index.html chore: 프로젝트 초기 구성 2026-02-27 11:06:21 +09:00
package-lock.json feat(auth): Google OAuth 로그인 연동 2026-02-27 16:42:59 +09:00
package.json feat(auth): Google OAuth 로그인 연동 2026-02-27 16:42:59 +09:00
postcss.config.js chore: 프로젝트 초기 구성 2026-02-27 11:06:21 +09:00
README.md chore: 프로젝트 초기 구성 2026-02-27 11:06:21 +09:00
tailwind.config.js chore: 프로젝트 초기 구성 2026-02-27 11:06:21 +09:00
tsconfig.app.json chore: 프로젝트 초기 구성 2026-02-27 11:06:21 +09:00
tsconfig.json chore: 프로젝트 초기 구성 2026-02-27 11:06:21 +09:00
tsconfig.node.json chore: 프로젝트 초기 구성 2026-02-27 11:06:21 +09:00
vite.config.ts chore: 프로젝트 초기 구성 2026-02-27 11:06:21 +09:00

React + TypeScript + Vite

This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.

Currently, two official plugins are available:

React Compiler

The React Compiler is not enabled on this template because of its impact on dev & build performances. To add it, see this documentation.

Expanding the ESLint configuration

If you are developing a production application, we recommend updating the configuration to enable type-aware lint rules:

export default defineConfig([
  globalIgnores(['dist']),
  {
    files: ['**/*.{ts,tsx}'],
    extends: [
      // Other configs...

      // Remove tseslint.configs.recommended and replace with this
      tseslint.configs.recommendedTypeChecked,
      // Alternatively, use this for stricter rules
      tseslint.configs.strictTypeChecked,
      // Optionally, add this for stylistic rules
      tseslint.configs.stylisticTypeChecked,

      // Other configs...
    ],
    languageOptions: {
      parserOptions: {
        project: ['./tsconfig.node.json', './tsconfig.app.json'],
        tsconfigRootDir: import.meta.dirname,
      },
      // other options...
    },
  },
])

You can also install eslint-plugin-react-x and eslint-plugin-react-dom for React-specific lint rules:

// eslint.config.js
import reactX from 'eslint-plugin-react-x'
import reactDom from 'eslint-plugin-react-dom'

export default defineConfig([
  globalIgnores(['dist']),
  {
    files: ['**/*.{ts,tsx}'],
    extends: [
      // Other configs...
      // Enable lint rules for React
      reactX.configs['recommended-typescript'],
      // Enable lint rules for React DOM
      reactDom.configs.recommended,
    ],
    languageOptions: {
      parserOptions: {
        project: ['./tsconfig.node.json', './tsconfig.app.json'],
        tsconfigRootDir: import.meta.dirname,
      },
      // other options...
    },
  },
])