๋ก๊ทธ์ธ์ ๋ฐ๊ธ๋ฐ๋ JWT ํ ํฐ ์ค๋ช
๋ก๊ทธ์ธ API ์์ฒญ์ ๋ฐ์ access_token ๋ฐ refresh_token์ payload
access_token
1h
typ, _sq, sub, iat, exp, aud, iss
refresh_token
7d
_sq๊ฐ์ด account์ primary key ๊ฐ
Authentication: Bearer {access_token}
๋ก๊ทธ์ธ, ํ์๊ฐ์ ์ ์ธํ API
Authentication: Bearer {refresh_token}
refresh ์์ฒญ API
refresh_token ์์ฒญ์ access_token ์ฌ๋ฐ๊ธ
Last updated 2 years ago