Skip to content

Commit 299199e

Browse files
JIWONKIMSclaude
andcommitted
fix(config): Clarify Redis usage and remove session configuration
- Add comment to Redis config: caching only (not for sessions) - Change session.store-type from redis to none - Remove session timeout (unnecessary for JWT stateless auth) The application uses JWT-based stateless authentication where: - SecurityConfig sets SessionCreationPolicy.STATELESS - Redis is used only for refresh token storage and token blacklist - No server-side session management required 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent 9baf80f commit 299199e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/main/resources/application-prod.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ spring:
2626
initialize-schema: false
2727

2828
data:
29-
redis:
29+
redis: # 캐싱 전용 (세션 저장 안함 - JWT 기반 stateless 인증 사용)
3030
host: ${REDIS_HOST}
3131
port: ${REDIS_PORT}
3232
password: ${REDIS_PASSWORD:}
@@ -43,8 +43,7 @@ spring:
4343
requested-heartbeat: 30
4444

4545
session:
46-
store-type: redis
47-
timeout: 30m
46+
store-type: none # JWT 기반 인증 사용 - 세션 불필요
4847

4948
management:
5049
endpoints:

0 commit comments

Comments
 (0)