-
Notifications
You must be signed in to change notification settings - Fork 0
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
[FEAT] S3 PreSignedUrl 발급 로직 구현 #48
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
고생하셨습니다! 분리해주셔서 훨씬 나아진거 같습니다!!
|
||
String redirectURL = "https://nid.naver.com/oauth2.0/authorize?client_id=" + clientId | ||
+ "&redirect_uri=" + redirectUri + "&response_type=code"; | ||
try { | ||
response.sendRedirect( | ||
"https://nid.naver.com/oauth2.0/authorize?&client_id=iuUGaSHmzPMxKmNlc0BD&redirect_uri=http://localhost:8080/login/oauth2/code/naver&response_type=code"); | ||
redirectURL); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
오호 이렇게 바꾸니 좋네요! 보안 생각하면 이게 맞겠네요 굿굿!
@@ -28,7 +28,7 @@ public class UniversityExamService { | |||
|
|||
private final UniversityExamRepository universityExamRepository; | |||
private final UniversityExamImageRepository universityExamImageRepository; | |||
private final S3Service s3Service; | |||
private final CloudFrontService cloudFrontService; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
따로 분리하는게 맞는거 같네요 좋습니다~!
public class FolderName { | ||
public static final String EXAM_ANSWER_FOLDER_NAME = "exam-answer/"; | ||
public static final String EXAM_RESULT_FOLDER_NAME = "exam-result/"; | ||
public static final String EXAM_SHEET_FOLDER_NAME = "exam-sheet/"; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
따로 분리하는 거 넘 좋습니다!
📝 PR 타입
📝 반영 브랜치
📝 변경 사항
📝 테스트 결과
📝 To Reviewer