const expirationDate = Math.min(...[accessToken?.expiresAt, idToken?.expiresAt, refreshToken?.expiresAt].filter(expiresAt => expiresAt !== undefined);