refresh token 사용의 요점은
access token을 쿠키나 로컬 스토리지가 아니라 그냥 메모리에 저장하는 거였구나
access token은 메모리에 저장하는 게 제일 안전하고
그러면 사용자는 새로고침 하거나 새 페이지에 들어갈 때마다 매번 비번을 쳐야하니까 refresh token으로 그럴 필요 없게 만드는 것이고
If you have a fediverse account, you can quote this note from your own instance. Search https://pointless.chat/users/sunwoo1524/statuses/114520309211169169 on your instance and quote it. (Note that quoting is not supported in Mastodon.)