Repository navigation
[FEAT] 인가 코드 하이브리드 방식 #67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from 2 commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
79aae5b
feat: 인가 코드 변환 로직 추가 (#42)
kimyw1018 1270274
feat: 충돌 해결 (#42)
kimyw1018 51868bb
fix: 액세스 토큰 기방에도 토큰 교환 요청 오류 (#42)
kimyw1018 6f8a91c
fix: 로그 예뢰 원인 보완 (#42)
kimyw1018 ffed12d
fix: 카카오, 구글 code 출력 삭제 (#42)
kimyw1018 ac1469b
fix: Oauth 누락 설정 (#42)
kimyw1018 77f488e
Merge branch 'develop' of https://github.com/Musereview/BE into feat/…
kimyw1018 5d5866e
feat: 트랜젯션 제거 (#42)
kimyw1018 8916c9b
feat: redirectUri를 계산로직 (#64)
kimyw1018 0f577e6
feat: 화이트리스트 검증 (#64)
kimyw1018 6898dde
feat: 미사용코드 삭제, 주석 보완 (#64)
kimyw1018 e803825
feat: 트랜젝션 분리, 파라미터 명확화 (#64)
kimyw1018 7f0259c
feat: callback api 구현(#64)
kimyw1018 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 20 additions & 3 deletions
23
src/main/java/com/mr/domain/auth/dto/req/AuthRequestDTO.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 3 additions & 4 deletions
7
src/main/java/com/mr/domain/auth/dto/res/GoogleUserResponse.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,9 +1,8 @@ | ||
| package com.mr.domain.auth.dto.res; | ||
|
|
||
| import com.fasterxml.jackson.annotation.JsonProperty; | ||
|
|
||
| public record GoogleUserResponse( | ||
| String id, | ||
| String picture, | ||
| String email | ||
| String email, | ||
| String name, | ||
| String picture | ||
| ) {} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
src/main/java/com/mr/domain/auth/dto/res/OAuthTokenResponse.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| package com.mr.domain.auth.dto.res; | ||
|
|
||
| import com.fasterxml.jackson.annotation.JsonProperty; | ||
|
|
||
| public record OAuthTokenResponse( | ||
| @JsonProperty("access_token") | ||
| String accessToken, | ||
| @JsonProperty("token_type") | ||
| String tokenType, | ||
| @JsonProperty("refresh_token") | ||
| String refreshToken, | ||
| @JsonProperty("expires_in") | ||
| Long expiresIn, | ||
| @JsonProperty("scope") | ||
| String scope | ||
| ) {} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| package com.mr.global.config; | ||
|
|
||
| import org.springframework.boot.context.properties.ConfigurationProperties; | ||
|
|
||
| @ConfigurationProperties(prefix = "oauth") | ||
| public record OAuthProperties( | ||
| ProviderProperties kakao, | ||
| ProviderProperties google | ||
| ) { | ||
| public record ProviderProperties( | ||
| String clientId, | ||
| String clientSecret, | ||
| String redirectUri | ||
| ) {} | ||
| } |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.