From 99d8ea6abc24d0544838ae1fe9836e1ec689be68 Mon Sep 17 00:00:00 2001 From: Han Kyuhyun Date: Tue, 12 Sep 2023 16:06:35 +0900 Subject: [PATCH] Edit Login Configuration Signed-off-by: Han Kyuhyun Co-authored-by: ByunJeongHeum Co-authored-by: June Saehwan Co-authored-by: Jongmin Lee --- src/main/resources/application.properties | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 98135882..6b9ecbdf 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -50,17 +50,15 @@ app.table.pullRequestsName=lpvs_pull_requests app.table.queueName=queue # Login Configuration - #Google -spring.security.oauth2.client.registration.google.client-id= -spring.security.oauth2.client.registration.google.client-secret= +spring.security.oauth2.client.registration.google.client-id={YOUR_GOOGLE_CLIENT_ID} +spring.security.oauth2.client.registration.google.client-secret={YOUR_GOOGLE_CLIENT_SECRET} spring.security.oauth2.client.registration.google.redirect-uri=http://localhost:7896/login/oauth2/code/google spring.security.oauth2.client.registration.google.scope=profile, email #Naver -spring.security.oauth2.client.registration.naver.client-id= -spring.security.oauth2.client.registration.naver.client-secret= - +spring.security.oauth2.client.registration.naver.client-id={YOUR_NAVER_CLIENT_ID} +spring.security.oauth2.client.registration.naver.client-secret={YOUR_NAVER_CLIENT_SECRET} spring.security.oauth2.client.registration.naver.redirect-uri=http://localhost:7896/login/oauth2/code/naver spring.security.oauth2.client.registration.naver.authorization-grant-type=authorization_code spring.security.oauth2.client.registration.naver.scope=name, email, profile_image @@ -72,7 +70,7 @@ spring.security.oauth2.client.provider.naver.user-info-uri=https://openapi.naver spring.security.oauth2.client.provider.naver.user-name-attribute=response #Kakao -spring.security.oauth2.client.registration.kakao.client-id= +spring.security.oauth2.client.registration.kakao.client-id={YOUR_KAKAO_CLIENT_ID} spring.security.oauth2.client.registration.kakao.redirect-uri=http://localhost:7896/login/oauth2/code/kakao spring.security.oauth2.client.registration.kakao.client-authentication-method=POST spring.security.oauth2.client.registration.kakao.authorization-grant-type = authorization_code @@ -83,6 +81,3 @@ spring.security.oauth2.client.provider.kakao.authorization-uri=https://kauth.kak spring.security.oauth2.client.provider.kakao.token-uri=https://kauth.kakao.com/oauth/token spring.security.oauth2.client.provider.kakao.user-info-uri=https://kapi.kakao.com/v2/user/me spring.security.oauth2.client.provider.kakao.user-name-attribute=id - - -