You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
30d0e94
백엔드의 token-check API에서 DB �update(refresh token 갱신)을 하지 않도록 변경.
또한, loggedIn 쿠키를 추가하여 API 접근을 줄이고자 함.
(loggedIn 쿠키: 브라우저 읽기 가능. refresh token과 같은 갱신주기, 유효기간 14일, 갱신 타이밍은 남은 유효기간이 7일 이하, 없을 경우 강제 로그아웃)
이 변경사항으로 refresh token 갱신 타이밍에 token-check API가 동시에 2번 호출되어도 403 에러를 반환하지 않음.
Close 하겠습니다.
현상
/
)에서getPermission
이 2번 호출되고 있음.getPermission
에서/api/users/token-check
을 동시에 2번 호출.원인(추측)
getPermission
에서/api/users/token-check
을 동시에 2번 호출.해결책
getPermission
에async/await
추가?getPermission
이 동시에 1번만 일어나도록 하게 함./
)를<CustomRoutes>
로 이동관련 이슈
#8 Refresh Token 적용하기
The text was updated successfully, but these errors were encountered: