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

feat: auth routing #146

Merged
merged 5 commits into from
Jan 24, 2024
Merged

feat: auth routing #146

merged 5 commits into from
Jan 24, 2024

Conversation

Jinho1011
Copy link
Member

What is this PR? ๐Ÿ”

  • accessToken ์ธ์ฆ ํ”Œ๋กœ์šฐ๋ฅผ ๊ตฌํ˜„ํ–ˆ์Šต๋‹ˆ๋‹ค.

Changes ๐Ÿ“

  • ProtectedRoute๋กœ ์ธ์ฆ์ด ํ•„์š”ํ•œ ํŽ˜์ด์ง€๋ฅผ ๊ฐ์Œˆ
  • ์ธ์ฆ์ด ์•ˆ๋˜์—ˆ์„ ๊ฒฝ์šฐ /login์œผ๋กœ redirect
  • ์šฐ์„ ์€ localStorage์— accessToken ์ €์žฅ
  • ๋‚˜์ค‘์— cookie์— ์ €์žฅํ•˜๋Š”๊ฑธ๋กœ ๋ฐ”๊ฟ‰์‹œ๋‹ค

To Reviewers ๐Ÿ“ข

  • /oauth/kakao/authorize API์—์„œ ์‘๋‹ต์œผ๋กœ accessToken ์ค˜์•ผํ•จ

Copy link

netlify bot commented Jan 23, 2024

โœ… Deploy Preview for offonoff-ab ready!

Name Link
๐Ÿ”จ Latest commit b79943d
๐Ÿ” Latest deploy log https://app.netlify.com/sites/offonoff-ab/deploys/65aff8d7e67743000844673a
๐Ÿ˜Ž Deploy Preview https://deploy-preview-146--offonoff-ab.netlify.app/
๐Ÿ“ฑ Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@Jinho1011 Jinho1011 merged commit 3f31712 into dev Jan 24, 2024
5 checks passed
@Jinho1011 Jinho1011 deleted the feat/auth-routing branch January 24, 2024 02:18
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