From 5008271c694df05a5e9346dedd6711ad25f5e489 Mon Sep 17 00:00:00 2001 From: morenow98 <112200350+morenow98@users.noreply.github.com> Date: Thu, 22 Feb 2024 01:18:03 +0900 Subject: [PATCH] =?UTF-8?q?Feat:=20JWT=20=EB=B0=9C=EA=B8=89=20=EB=A6=AC?= =?UTF-8?q?=EB=8B=A4=EC=9D=B4=EB=A0=89=ED=8A=B8=20URI=20=EB=A5=BC=20?= =?UTF-8?q?=EC=99=B8=EB=B6=80=20=EC=A3=BC=EC=9E=85=EC=9C=BC=EB=A1=9C=20?= =?UTF-8?q?=EB=B3=80=EA=B2=BD=20(#181)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * #180 - chore: JWT 발급 리다이렉트 URI를 외부 주입으로 변경 (#181) --- .github/workflows/deploy.yaml | 1 + src/main/resources/application-oauth.yaml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 3a97632..3d4c083 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -54,6 +54,7 @@ jobs: cloud.aws.credentials.access-key: ${{ secrets.S3_PROFILE_ACCESS_KEY }} cloud.aws.credentials.secret-key: ${{ secrets.S3_PROFILE_SECRET_KEY }} profile.default.url: ${{ secrets.PROFILE_DEFAULT_URL }} + oauth.authorizedRedirectUri: ${{ secrets.AUTHORIZED_REDIRECT_URI }} - name: Grant execute permission for gradlew run: chmod +x ./gradlew diff --git a/src/main/resources/application-oauth.yaml b/src/main/resources/application-oauth.yaml index 929df71..eb795ef 100644 --- a/src/main/resources/application-oauth.yaml +++ b/src/main/resources/application-oauth.yaml @@ -30,4 +30,4 @@ spring: token-uri: https://nid.naver.com/oauth2.0/token oauth: - authorizedRedirectUri: http://localhost:3000/login/redirected \ No newline at end of file + authorizedRedirectUri: ${AUTHORIZED_REDIRECT_URI}