#
React Router Private Route#
LocalStorage vs Cookies: Storing JWTXSS ๊ณต๊ฒฉ
- LocalStorage๋ ์์ ํ JavaScript๋ก ์ ์ดํ ์ ์๊ณ , ํ์ฌ ๋ผ์ด๋ธ๋ฌ๋ฆฌ (React, jQuery, Google Analytics ...)์ ํฌํจํ์ ๋, ๋ก์ปฌ ์คํ ๋ฆฌ์ง์ ๋ด๊ธด Token์ ๊ฐ์ทจ๋นํ ์ ์๋ค.
https://medium.com/@ryanchenkie_40935/react-authentication-how-to-store-jwt-in-a-cookie-346519310e81
https://bezkoder.com/react-express-authentication-jwt/
https://velog.io/@yaytomato/ํ๋ก ํธ์์-์์ ํ๊ฒ-๋ก๊ทธ์ธ-์ฒ๋ฆฌํ๊ธฐ
#
React SignUp API#
Express Cookie ๋ค๋ฅธ ๋๋ฉ์ธ๊ฐ ์ ์กhttps://www.zerocho.com/category/NodeJS/post/5e9bf5b18dcb9c001f36b275