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

๐Ÿ› ๏ธ [refactor] ์ธ์ฆ ๋ฐฉ์‹์„ OAuth2๋กœ ๋ณ€๊ฒฝ #115

Open
wants to merge 28 commits into
base: develop
Choose a base branch
from

Conversation

binary-ho
Copy link
Owner

@binary-ho binary-ho commented Mar 12, 2024

PR์„ ์—ด์–ด ๋‘๋Š” ์ด์œ 

  1. Client ๊ฐœ๋ฐœ์ž์˜ ๋ฆฌ๋ทฐ์™€ ํ…Œ์ŠคํŠธ ์˜ˆ์ •
  2. ๋นŒ๋“œ ์‹คํŒจ๋Š” Gradle Report ๋ฅผ ํ†ตํ•ด ํ™•์ธํ•  ์˜ˆ์ •

๐Ÿ› ๏ธ ๋ฆฌํŒฉํ† ๋ง

์œ ์ €๊ฐ€ Github Repository์— ์˜ฌ๋ฆฌ๋Š” ๊ณผ์ œ๋ฌผ์˜ ์ˆ˜์ง‘์„ ์œ„ํ•ด ์œ ์ €์˜ ์ •ํ™•ํ•œ "ํ˜„์žฌ"ํ•ธ๋“ค์„ ์•Œ ํ•„์š”๊ฐ€ ์žˆ๋‹ค.
์œ ์ €๊ฐ€ ์ง์ ‘ ํ•ธ๋“ค์„ ์ž…๋ ฅํ•˜๋„๋ก ํ•˜๊ณ , ๋ณ€๊ฒฝ๋  ๋•Œ๋งˆ๋‹ค ์ˆ˜๋™์œผ๋กœ sync๋ฅผ ๋งž์ถ”๊ฒŒ ํ•˜๊ธฐ ๋ณด๋‹ค๋Š”,
Github OAuth ๋กœ๊ทธ์ธ์„ ๋„์ž…ํ•ด github id์™€ ์ •ํ™•ํ•œ ํ•ธ๋“ค์„ ์ˆ˜์ง‘ํ•˜๋ ค ํ•œ๋‹ค.

์ž‘์—…

  1. ๊นƒํ—ˆ๋ธŒ OAuth2 ์ธ์ฆ ์ถ”๊ฐ€
  2. OAuth2 Config ํ…Œ์ŠคํŠธ ์ฝ”๋“œ ์ถ”๊ฐ€
  3. ๊ธฐ์กด์—” ํ† ํฐ์„ ๋Œ€ํ•™๊ต ์ด๋ฉ”์ผ๋กœ ๋งŒ๋“ค์—ˆ์œผ๋‚˜, ์ด์   email์ด ํ•„์ˆ˜๊ฐ€ ์•„๋‹ˆ๊ฒŒ ๋˜๋ฏ€๋กœ, id๋กœ ๋งŒ๋“ค๋„๋ก ๋ณ€๊ฒฝ
  4. ์ด๋กœ ์ธํ•ด ๋ถˆํ•„์š”ํ•ด์ง„ ๊ธฐ๋Šฅ๋“ค์„ ์‚ญ์ œํ•˜๊ฑฐ๋‚˜, TODO ์‚ญ์ œ ํ‘œ๊ธฐ
  5. OAuth2User์—์„œ ๋ฐ์ดํ„ฐ๋ฅผ ๊ฐ€์ ธ์˜ฌ ๋•Œ, ๋ณดํ†ต ๋ฆฌ์†Œ์Šค ์„œ๋ฒ„์— ๋”ฐ๋ผ Attribute Key๊ฐ€ ๋‹ค๋ฅด๋‹ค.
    ์šฐ๋ฆฌ ์„œ๋น„์Šค์—์„œ๋Š” ๋ฆฌ์†Œ์Šค ์„œ๋ฒ„๋ฅผ Github๋งŒ ์‚ฌ์šฉํ•  ์˜ˆ์ •์ด๋ฏ€๋กœ, OAuth2User๋ฅผ Wrappingํ•ด ๋‚ด๋ถ€์ ์œผ๋กœ Attribute Key๋ฅผ ํ†ตํ•ด ๊ฐ์ข… ์ •๋ณด๋ฅผ ๋ฐ˜ํ™˜ํ•˜๋Š” GitHubUser ๊ตฌํ˜„

binary-ho added 25 commits March 8, 2024 17:59
@binary-ho binary-ho self-assigned this Mar 13, 2024
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