- Added Kakao OAuth client implementation for handling authentication flows. - Updated user repository to support OAuth-based user creation and retrieval. - Introduced Redis-based session management for OAuth sessions. - Enhanced in-memory user repository to handle OAuth user data. - Updated environment configuration files to include new OAuth settings. - Modified API routes to support Kakao login and registration flows. - Added Prisma schema updates for user model to accommodate OAuth fields. - Implemented tests for the new authentication flow and user repository methods.
20 lines
493 B
Bash
20 lines
493 B
Bash
POSTGRES_DB=sammo
|
|
POSTGRES_USER=sammo
|
|
POSTGRES_PASSWORD=change-me
|
|
REDIS_PASSWORD=change-me
|
|
REDIS_HOST=127.0.0.1
|
|
REDIS_PORT=16379
|
|
REDIS_DB=0
|
|
GAME_TOKEN_SECRET=change-me
|
|
GATEWAY_REDIS_PREFIX=sammo:gateway
|
|
GATEWAY_API_HOST=0.0.0.0
|
|
GATEWAY_API_PORT=13000
|
|
GATEWAY_PUBLIC_URL=https://example.com
|
|
GAME_API_HOST=0.0.0.0
|
|
GAME_API_PORT=14000
|
|
PROFILE=che
|
|
SCENARIO=default
|
|
KAKAO_REST_KEY=your-kakao-rest-key
|
|
KAKAO_ADMIN_KEY=your-kakao-admin-key
|
|
KAKAO_REDIRECT_URI=https://example.com/oauth/kakao/callback
|