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

Enhancing Authentication Feature - Login with KakaoTalk #97

Open
18 tasks done
laphayen opened this issue Jul 25, 2024 · 0 comments
Open
18 tasks done

Enhancing Authentication Feature - Login with KakaoTalk #97

laphayen opened this issue Jul 25, 2024 · 0 comments
Assignees

Comments

@laphayen
Copy link
Owner

laphayen commented Jul 25, 2024

Adding Login with Kakao Account to Your Authentication Feature

  • Preparing to use Kakao API on Kakao Developers
  • Registering the application
  • Checking the REST API key
  • Registering the site domain
  • Registering the Redirect URI
  • Configuring consent items
  • Checking the Client Secret key
  • Modifying the user domain to allow storing user information without authentication
  • Checking and defining Kakao authentication response information
  • Configuring OAuth 2.0 security settings (+ lambda expression access)
  • Implementing OAuth2UserService
  • Using the default OAuth 2.0 authentication processor
  • Registering Kakao authentication information as a user
  • Implementing the basic authentication service logic
  • Implementing the view
  • Preparing the Kakao login button image
  • Implementing the Kakao login button
  • Changing the user information displayed after login: ID -> nickname

Reference

Kakao Developers: https://developers.kakao.com/

@laphayen laphayen self-assigned this Jul 25, 2024
@laphayen laphayen converted this from a draft issue Jul 25, 2024
laphayen added a commit that referenced this issue Jul 26, 2024
Add OAuth2 Client dependency.
laphayen added a commit that referenced this issue Jul 26, 2024
laphayen added a commit that referenced this issue Jul 27, 2024
client-id and client-secret are confidential information, so do not include the actual values. Instead, configure them to be set later via external environment variables.
laphayen added a commit that referenced this issue Jul 27, 2024
Add a constructor method for registering member information in the database without authentication.
Add a constructor method to allow user registration by manually entering the creator and modifier information when authentication information is not available.
laphayen added a commit that referenced this issue Jul 27, 2024
Implement the OAuth2User interface so that the Spring OAuth Client recognizes authentication information in the same way as before.
laphayen added a commit that referenced this issue Jul 27, 2024
Represent the result of the Kakao authentication API as a Java record for efficient use, and write tests to verify its functionality.
laphayen added a commit that referenced this issue Jul 27, 2024
Represent the result of the Kakao authentication API as a Java record for efficient use.
laphayen added a commit that referenced this issue Jul 28, 2024
If an existing member ID is searched, return the member data as an Optional.
If a non-existing member ID is searched, return an empty Optional.
When member information is entered, save the new member information to register them and return the member data.
laphayen added a commit that referenced this issue Jul 28, 2024
Implement a service for retrieving and saving membership information.
laphayen added a commit that referenced this issue Jul 28, 2024
Add configuration to the test so that Spring Security can accept both existing DB authentication and OAuth authentication.
laphayen added a commit that referenced this issue Jul 28, 2024
Add configuration to allow Spring Security to accept both existing DB authentication and OAuth authentication.
laphayen added a commit that referenced this issue Jul 29, 2024
Use the image resources provided on the Kakao Developer website.
laphayen added a commit that referenced this issue Jul 30, 2024
Add Kakao login button.
laphayen added a commit that referenced this issue Jul 30, 2024
Add Kakao login button and change the username to principal.nickname.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Ready
Development

No branches or pull requests

1 participant