Access Token 저장 방식 변경

This commit is contained in:
static committed 2024-12-28 16:54:46 +09:00
1 parent 1d0c309878
commit c09a0b4aa0
10 files changed
+44 -83

No files matched your search

+1 -1
View File
@@ -71,7 +71,7 @@ export const logout = async (refreshToken: string) => {
await revokeRefreshToken(jti);
};
export const refreshToken = async (refreshToken: string) => {
export const refreshTokens = async (refreshToken: string) => {
const { jti: oldJti, userId, clientId } = await verifyRefreshToken(refreshToken);
const newJti = uuidv4();