2条回答 默认 最新
瘦死的黑骆驼 2022-08-03 12:10关注服务端在种cookie时需要设置samesite为none,并且设置securecookie为true,像这样的

否则就算前端设置withCredentials为true,cookie也带不过去同时服务端需要配置跨域,响应头中像这样
解决 无用评论 打赏 举报
服务端在种cookie时需要设置samesite为none,并且设置securecookie为true,像这样的

同时服务端需要配置跨域,响应头中像这样
