項(xiàng)目:react前端,后臺(tái)spring boot集成spring security跨域:后端有跨域處理,前端fetch請(qǐng)求帶credentials: 'include',前后端已經(jīng)跑通問(wèn)題:集成spring security后,前端登錄后cookie中返回sessionid,但是下次fetch請(qǐng)求時(shí),不會(huì)將cookie中的sessionid帶到服務(wù)端,而這個(gè)sessionid,就是spring security判斷是否登錄的憑證,求解,這是怎么回事?
React跨域cookie問(wèn)題,求解求解?
zzZerOrz
2018-01-26 10:56:45