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

Backend#231/jwt+spring security+o auth2 #241

Merged
merged 8 commits into from
Jun 11, 2024

Conversation

Doncham
Copy link
Collaborator

@Doncham Doncham commented Jun 11, 2024

๐Ÿ“Œ ๊ด€๋ จ ์ด์Šˆ

closed #231

โœจ ๊ณผ์ œ ๋‚ด์šฉ

๐Ÿ“ธ ์Šคํฌ๋ฆฐ์ƒท(์„ ํƒ)

๐Ÿ“š ๋ ˆํผ๋Ÿฐ์Šค (๋˜๋Š” ์ƒˆ๋กœ ์•Œ๊ฒŒ ๋œ ๋‚ด์šฉ) ํ˜น์€ ๊ถ๊ธˆํ•œ ์‚ฌํ•ญ๋“ค

Doncham added 8 commits June 1, 2024 09:40
1.๋กœ๊ทธ์ธ ์„ฑ๊ณต ์‹œ ๋ฆฌ๋””๋ ‰์…˜ ๊ฒฝ๋กœ ์ถ”๊ฐ€(/main)
2.๊ธฐ์กด ๋กœ๊ทธ์ธ api ์ฃผ์„ ์ฒ˜๋ฆฌ
3.๋กœ๊ทธ์ธ ์‹คํŒจ ์‹œ ์‘๋‹ต ๋ฐ์ดํ„ฐ ๋ณ€๊ฒฝ
4.userDetails๋ฅผ ํ†ตํ•ด ์ด๋ฉ”์ผ๊ณผ id๋„ ๋ฐ˜ํ™˜ ๊ฐ€๋Šฅํ•˜๊ฒŒ ํ•˜์—ฌ JWT์— ๋‹ค์–‘ํ•œ ์ •๋ณด๋ฅผ ๋‹ด์„ ์ˆ˜ ์žˆ๊ฒŒ ๋จ
5.ํ”„๋ก ํŠธ์—์„œ ๊ตฌ๊ธ€ ๋กœ๊ทธ์ธ ๋ฒ„ํŠผ์— ๋งํฌ ๋‹ฌ์•„๋†ˆ
1.๋กœ๊ทธ์•„์›ƒ ํ•„ํ„ฐ ์ƒ์„ฑ(DB์—์„œ Refresh ์‚ญ์ œ)
2.์žฌ๋ฐœ๊ธ‰ ์‹œ DB์— Refresh ์œ ๋ฌด ํ™•์ธ์œผ๋กœ ํƒˆ์ทจ๋œ ํ† ํฐ์— ๋Œ€ํ•œ ๋Œ€์‘
1.๋กœ๊ทธ์ธ ์‹œ fcm ๋„˜๊ธฐ๋ฉด DB์— ์ €์žฅ
2.ํ€ด์ฆˆ ์ƒ์„ฑ ์‹œ ์•Œ๋ฆผ ๋ฐœ์ƒ
3.app์—์„œ fcm ์žฌ๋ฐœ๊ธ‰ ์‹œ ํ•ด๋‹น ํ† ํฐ DB ์ €์žฅํ•˜๋Š” api
1.ํ…Œ์ŠคํŠธ๋ฅผ ์œ„ํ•ด ์œ ํ†ต๊ธฐํ•œ ๋งŽ์ด ๋Š˜๋ฆผ
2.์†Œ์…œ ๋กœ๊ทธ์ธ ์„ฑ๊ณต ์‹œ ์ฟ ํ‚ค์— ์žˆ๋Š” JWT๋ฅผ ํ—ค๋”๋กœ ๋ฐ›์•„ ์˜ค๋Š” API ๊ตฌํ˜„
@Doncham Doncham requested a review from SINHJ1 June 11, 2024 05:24
@Doncham Doncham merged commit 33d722e into develop Jun 11, 2024
1 check passed
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.

Backend/JWT+SpringSecurity+ OAuth2
2 participants