SWM-99-degree / jariBean

SWM 14th JariBean Project
0 stars 1 forks source link

[FEAT] Refresh Token을 이용한 JWT 갱신 #131

Closed isayaksh closed 11 months ago

isayaksh commented 1 year ago

✏️ Description

서버에서 발급한 Access Token의 유효 기간은 2시간이다. 유효 기간이 지난 Access Token을 이용하여 서버에 요청을 보낼 경우 "토큰 사용기간이 만료되었습니다." 에 해당하는 응답을 받는다. "토큰 사용기간이 만료되었습니다." 응답을 받은 클라이언트는 특정 URL로 Refresh Token을 전송하여 새로 발급한 AccessToken을 응답 받는다.

🛠 Features

LineNo2 commented 1 year ago

Auth0 Docs

  1. Auth0 Authorization Server responds with second ID token and access token (and optionally, a refresh token).

다음의 문서를 참고하니, refreshToken으로 refreshToken을 다시 발급받는 경우도 있다고 한다.

psy-choi commented 1 year ago

Auth0 Docs

  1. Auth0 Authorization Server responds with second ID token and access token (and optionally, a refresh token).

다음의 문서를 참고하니, refreshToken으로 refreshToken을 다시 발급받는 경우도 있다고 한다.

무한 로그인...