Skip to content

Add Naver and Kakao social login#77

Merged
ICubE01 merged 12 commits into
mainfrom
feature/naver-kakao-login
Jun 29, 2026
Merged

Add Naver and Kakao social login#77
ICubE01 merged 12 commits into
mainfrom
feature/naver-kakao-login

Conversation

@ICubE01

@ICubE01 ICubE01 commented Jun 23, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add Naver (OAuth2) and Kakao (OIDC) as social login providers alongside the existing Google login
  • Unify all three OAuth callback pages into a single SocialCallbackPage component
  • Make social login the primary login method on the login page; email/password is now a collapsible secondary option
  • Translate backend social auth error messages to Korean on the frontend

Backend

Features

  • KakaoOidcProviderClient — Kakao OIDC provider with nonce verification and email validation
  • NaverOAuth2ProviderClient — Naver OAuth2 provider with manual token exchange and user-info fetch
  • SocialAuthUserInfo — common user info record decoupling providers from OidcIdToken
  • SocialAuthProviderName — renamed/extended from OidcProviderName to cover all three providers

Enhancements

  • GoogleOidcProviderClient, KakaoOidcProviderClient, NaverOAuth2ProviderClient — validate subject and email are non-null before constructing SocialAuthUserInfo

Frontend

Features

  • SocialCallbackPage — single callback component replacing three separate pages; accepts SocialAuthProviderName prop
  • socialAuthErrors.ts — maps known English backend error messages to Korean, with fallback to original message
  • LoginPage — added Naver and Kakao buttons; email/password form is now hidden behind a collapsible toggle

Enhancements

  • Callback pages read the response body on failure and display the backend ErrorDto.message (translated to Korean where possible)
  • ErrorDto type added to types.ts

@ICubE01
ICubE01 force-pushed the feature/naver-kakao-login branch from 17f698f to 5e715f5 Compare June 23, 2026 09:14
@ICubE01
ICubE01 merged commit 9227f99 into main Jun 29, 2026
2 checks passed
@ICubE01
ICubE01 deleted the feature/naver-kakao-login branch June 29, 2026 15:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant