Skip to content

Commit 1b98f3b

Browse files
committed
feat[OAuth]: 실행구성 변경 및 환경변수 추가
1 parent 1308bbd commit 1b98f3b

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

backend/src/test/resources/application-test.yml

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,14 @@ spring:
4242
redis:
4343
port: 6370 # 기본 포트와 충돌 방지
4444

45+
ai:
46+
vectorstore:
47+
qdrant:
48+
host: localhost
49+
port: 6334
50+
collection-name: legal_cases
51+
vector-size: 1536
52+
4553
security:
4654
oauth2:
4755
client:
@@ -50,11 +58,13 @@ spring:
5058
client-id: test-kakao-client-id
5159
client-secret: test-kakao-client-secret
5260
client-name: Kakao
61+
redirect-uri: http://localhost:8080/login/oauth2/code/kakao
5362
scope: profile_nickname, account_email
5463
naver:
5564
client-id: test-naver-client-id
5665
client-secret: test-naver-client-secret
5766
client-name: Naver
67+
redirect-uri: http://localhost:8080/login/oauth2/code/naver
5868
scope: profile, email
5969
provider:
6070
kakao:
@@ -79,7 +89,14 @@ logging:
7989
com.ai.lawyer: DEBUG
8090

8191
custom:
92+
cors:
93+
allowed-origins: http://localhost:3000
8294
jwt:
8395
secretKey: test-secret-key-for-local-testing-only
8496
accessToken:
85-
expirationSeconds: 3600
97+
expirationSeconds: 3600
98+
oauth2:
99+
redirect-url: http://localhost:3000/oauth/callback
100+
failure-url: http://localhost:3000/oauth/callback?error=true
101+
frontend:
102+
url: http://localhost:3000

0 commit comments

Comments
 (0)