エラーが発生する理由について何か考えはありますか
SyntaxError: JSON.parse: 予期しない文字
このコードで
console.log($cookieStore.get('XSRF-TOKEN'));
クッキーの値は
kscJcqrDYSMdZtBleuq8yUrB
?
ノードコードの更新
var currentSession = req.session.passport;
var user = currentSession.user;
res.cookie('USER',JSON.stringify(user) , { maxAge: 900000, httpOnly: false});