Skip to content
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

chore: update project configurations #83

Merged
merged 3 commits into from
Feb 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
@Component
public class OAuth2AuthenticationSuccessHandler extends SimpleUrlAuthenticationSuccessHandler {

@Value("${app.oauth2.authorizedRedirectUri}")
@Value("${app.oauth2.authorized-redirect-uri}")
private String redirectUri;

private final JwtTokenProvider tokenProvider;
Expand Down
3 changes: 1 addition & 2 deletions src/main/resources/application-local.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,5 @@ app:
auth:
token:
secret-key: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c
refresh-cookie-key: refresh
oauth2:
authorizedRedirectUri: http://localhost:8080/oauth2/redirect
authorized-redirect-uri: http://localhost:8080/oauth2/redirect
3 changes: 1 addition & 2 deletions src/main/resources/application-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,5 @@ app:
auth:
token:
secret-key: ${JWT_SECRET_KEY}
refresh-cookie-key: ${REFRESH_COOKIE_KEY}
oauth2:
authorizedRedirectUri: ${GOOGLE_OAUTH2_REDIRECT_URI}
authorized-redirect-uri: ${OAUTH2_REDIRECT_URI}
4 changes: 4 additions & 0 deletions src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ spring:
token-uri: https://kauth.kakao.com/oauth/token
user-info-uri: https://kapi.kakao.com/v2/user/me
user-name-attribute: id
app:
auth:
token:
refresh-cookie-key: refresh
aws:
s3:
access-key: ${AWS_S3_ACCESS_KEY}
Expand Down