-
Notifications
You must be signed in to change notification settings - Fork 1
refactor(server): update auth, user, and recruit member domains with … #277
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -40,10 +40,12 @@ jobs: | |||||
| DB_USERNAME=${{ secrets.DB_USERNAME }} | ||||||
| DB_PASSWORD=${{ secrets.DB_PASSWORD }} | ||||||
| GOOGLE_CLIENT_ID=${{ secrets.GOOGLE_CLIENT_ID }} | ||||||
| GOOGLE_CLIENT_SECRET=${{ secrets.GOOGLE_CLIENT_SECRET }} | ||||||
| GOOGLE_REDIRECT_URI=${{ secrets.GOOGLE_REDIRECT_URI }} | ||||||
| GOOGLE_ISSUER=${{ secrets.GOOGLE_ISSUER }} | ||||||
| SELF_ISSUER=${{ secrets.SELF_ISSUER }} | ||||||
| JWT_AUDIENCE=${{ secrets.JWT_AUDIENCE }} | ||||||
| REFRESH_COOKIE_SECURE=${{ secrets.REFRESH_COOKIE_SECURE || 'false' }} | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 프로덕션 환경에서 리프레시 토큰 쿠키가 🔒 제안- REFRESH_COOKIE_SECURE=${{ secrets.REFRESH_COOKIE_SECURE || 'false' }}
+ REFRESH_COOKIE_SECURE=${{ secrets.REFRESH_COOKIE_SECURE || 'true' }}📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||
| REFRESH_COOKIE_SAME_SITE=${{ secrets.REFRESH_COOKIE_SAME_SITE || 'Lax' }} | ||||||
| REFRESH_COOKIE_DOMAIN=${{ secrets.REFRESH_COOKIE_DOMAIN }} | ||||||
| SECRET_KEY=${{ secrets.SECRET_KEY }} | ||||||
| AWS_ACCESS_KEY_ID=${{ secrets.AWS_ACCESS_KEY_ID }} | ||||||
| AWS_SECRET_ACCESS_KEY=${{ secrets.AWS_SECRET_ACCESS_KEY }} | ||||||
|
|
||||||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,8 +1,8 @@ | ||
| package inha.gdgoc.domain.user.dto.request; | ||
| package inha.gdgoc.domain.admin.user.dto.request; | ||
|
|
||
| import inha.gdgoc.domain.user.enums.UserRole; | ||
| import jakarta.validation.constraints.NotNull; | ||
|
|
||
| public record UpdateRoleRequest( | ||
| @NotNull UserRole role | ||
| ) {} | ||
| ) {} |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| package inha.gdgoc.domain.admin.user.dto.request; | ||
|
|
||
| import inha.gdgoc.domain.user.enums.TeamType; | ||
| import inha.gdgoc.domain.user.enums.UserRole; | ||
|
|
||
| public record UpdateUserRoleTeamRequest( | ||
| UserRole role, | ||
| TeamType team | ||
| ) {} |
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.
🧩 Analysis chain
🏁 Script executed:
Repository: GDGoCINHA/24-2_GDGoC_Server
Length of output: 53
🏁 Script executed:
# Check the full deploy-dev.yml file to see all env vars defined cat -n .github/workflows/deploy-dev.ymlRepository: GDGoCINHA/24-2_GDGoC_Server
Length of output: 3598
🏁 Script executed:
# Check deploy-prod.yml for comparison cat -n .github/workflows/deploy-prod.ymlRepository: GDGoCINHA/24-2_GDGoC_Server
Length of output: 3669
🏁 Script executed:
Repository: GDGoCINHA/24-2_GDGoC_Server
Length of output: 110
🏁 Script executed:
# Check if application-prod.yml references ACCESS_COOKIE_* variables cat src/main/resources/application-prod.ymlRepository: GDGoCINHA/24-2_GDGoC_Server
Length of output: 2010
ACCESS_COOKIE_*환경 변수가 두 배포 워크플로우에서 누락되었습니다.application-prod.yml에서ACCESS_COOKIE_SECURE,ACCESS_COOKIE_SAME_SITE,ACCESS_COOKIE_DOMAIN을 참조하고 있으나,deploy-dev.yml과deploy-prod.yml모두에서.env에 포함되지 않았습니다.REFRESH_COOKIE_*환경 변수는 명시적으로 추가되었지만, 동일한 수준의 쿠키 설정인ACCESS_COOKIE_*는 누락되어 있어 설정 관리의 일관성이 부족합니다. 애플리케이션은 기본값(secure: false, same-site: Lax)으로 정상 작동하겠지만, 명시적 관리를 위해 두 워크플로우에 모두ACCESS_COOKIE_SECURE,ACCESS_COOKIE_SAME_SITE,ACCESS_COOKIE_DOMAIN을 추가해 주세요.🤖 Prompt for AI Agents