Skip to content

Commit

Permalink
fix: redirect_url -> redirect_uri
Browse files Browse the repository at this point in the history
  • Loading branch information
shin-mallang committed Jul 26, 2023
1 parent 6836ed6 commit 60e1e25
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public String provide() {
.fromUriString("https://nid.naver.com/oauth2.0/authorize")
.queryParam("response_type", "code")
.queryParam("client_id", naverOauthConfig.clientId())
.queryParam("redirect_url", naverOauthConfig.redirectUri())
.queryParam("redirect_uri", naverOauthConfig.redirectUri())
.queryParam("state", naverOauthConfig.state())
.build()
.toUriString();
Expand Down
6 changes: 3 additions & 3 deletions backend/src/main/resources/application-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,17 @@ cors:
oauth:
kakao:
client_id: ${KAKAO_CLIENT_ID}
redirectUri: ${KAKAO_REDIRECT_URL}
redirectUri: ${KAKAO_REDIRECT_URI}
client_secret: ${KAKAO_CLIENT_SECRET}
scope: ${KAKAO_SCOPE}
naver:
client_id: ${NAVER_CLIENT_ID}
redirectUri: ${NAVER_REDIRECT_URL}
redirectUri: ${NAVER_REDIRECT_URI}
client_secret: ${NAVER_CLIENT_SECRET}
scope: ${NAVER_SCOPE}
state: ${NAVER_STATE}
google:
client_id: ${GOOGLE_CLIENT_ID}
redirectUri: ${GOOGLE_REDIRECT_URL}
redirectUri: ${GOOGLE_REDIRECT_URI}
client_secret: ${GOOGLE_CLIENT_SECRET}
scope: ${GOOGLE_SCOPE}

0 comments on commit 60e1e25

Please sign in to comment.