Skip to content

Feat: oauth#15

Merged
lsh2613 merged 11 commits intodevfrom
feat/oauth
Aug 25, 2025
Merged

Feat: oauth#15
lsh2613 merged 11 commits intodevfrom
feat/oauth

Conversation

@lsh2613
Copy link
Copy Markdown
Owner

@lsh2613 lsh2613 commented Aug 25, 2025

⭐ Related issue

#12


📌 Tasks

  • Oauth 회원가입/로그인 기능 구현 및 테스트 코드 작성
  • req의 nickname 필드에 대해 검증 어노테이션 적용
  • init sql 개선 (oauth 테이블 데이터 제거, 모든 테이블의 AUTO_INCREMENT=1 초기화)

📃 Reference

OAuth2 / OIDC Endpoints

Google

구분 설명 엔드포인트
Discovery Endpoint OpenID Connect 메타데이터 제공 https://accounts.google.com/.well-known/openid-configuration
Issuer URL OAuth/OIDC 공급자 식별자 https://accounts.google.com
Authorization Endpoint 사용자 인증 및 권한 부여 https://accounts.google.com/o/oauth2/v2/auth
Token Endpoint code/refresh_token → access_token, id_token 교환 https://oauth2.googleapis.com/token
UserInfo Endpoint Access Token 기반 사용자 프로필 정보 조회 https://openidconnect.googleapis.com/v1/userinfo
JWKS URI JWT 서명 검증용 공개키 제공 https://www.googleapis.com/oauth2/v3/certs
Revocation Endpoint Access/Refresh Token 무효화 https://oauth2.googleapis.com/revoke

Kakao

구분 설명 엔드포인트
Discovery Endpoint OpenID Connect 메타데이터 제공 https://kauth.kakao.com/.well-known/openid-configuration
Issuer URL OAuth/OIDC 공급자 식별자 https://kauth.kakao.com
Authorization Endpoint 사용자 인증 및 권한 부여 https://kauth.kakao.com/oauth/authorize
Token Endpoint code/refresh_token → access_token, id_token 교환 https://kauth.kakao.com/oauth/token
UserInfo Endpoint Access Token 기반 사용자 프로필 정보 조회 https://kapi.kakao.com/v1/oidc/userinfo
JWKS URI JWT 서명 검증용 공개키 제공 https://kauth.kakao.com/.well-known/jwks.json

ETC

GitHub Copilot의 premium request 다 써서 리뷰 요청은 추후 활용

@lsh2613 lsh2613 added the ✨ Feature 새로운 기능 또는 명세 label Aug 25, 2025
@lsh2613
Copy link
Copy Markdown
Owner Author

lsh2613 commented Aug 25, 2025

📊 Test Coverage Report

Overall Project 69.24% -0.95%
Files changed 93.2%

File Coverage
AuthService.java 100%
OauthService.java 100%
UserService.java 92.25% -7.75%

@lsh2613 lsh2613 merged commit 86f9047 into dev Aug 25, 2025
1 check passed
@lsh2613 lsh2613 added ⚙️ Chore 기타 작업 ✨ Feature 새로운 기능 또는 명세 and removed ✨ Feature 새로운 기능 또는 명세 ⚙️ Chore 기타 작업 labels Aug 27, 2025
@lsh2613 lsh2613 changed the title Feat/oauth Feat: oauth Aug 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

✨ Feature 새로운 기능 또는 명세

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant