JWT 생성하기
쿠키에 refreshToken 담기
refresh token을 쿠키에 담아 보낼 때 sameSite, secure, httpOnly 옵션을 알맞게 설정하셔야 합니다.
TOKEN해독하기
try~catch(error) 문
axios headers 보내기
axios.get("https://localhost:4000/",{headers:{Authorization : ~}}
'개발 일지' 카테고리의 다른 글
S2: auth-session 구현 (0) | 2021.11.01 |
---|---|
S2: Cmarket-database (0) | 2021.10.22 |
S1: stringify 재귀함수로 만들기 (0) | 2021.09.27 |
S1: Stack로 브라우저 뒤로가기 앞으로가기 구현 (0) | 2021.09.25 |
S1: QUE로 순서처리구현 / findIndex, Splice, Math.max (0) | 2021.09.25 |
댓글