HuakunShen / wol-web

A web app hosted locally for wakeonlan

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error : 'Please enable cookies' on every ajax call with cloudflare tunnel

vihatsoft opened this issue · comments

hi,
first thank you for nice tool. i like your tool for wol. but having some little problem with it.
when hit login button call https://domain.com/api/users/login and get error "Please enable cookies."
also get same error on https://domain.com/api/users/count
i use cloudflare tunnel with email verification, so cookie is required on every ajax/jQuery request.
so, i request to you please enable current cookie to every ajax call in wol-web soon as possible.
thank you,
login-error-2022-11-13_163556

not include cloudflare authorized cookie in every ajax call, so, request is rejected by cloudflare and ask for enable cookie.
only include "cookie: jwt=eyJhbGciOi...".
cloudflare tunnel authorized cookie: CF_Authorization=eyJhbGciO....

some time work, some time not work.. now working..