So I am currently trying to authenticate a user based on the information stored inside my access_token httpOnly Cookie.
My Token contains a stringified json with token and id as values. On my homepage I've a graphQL call on auto-fetch with Server-side fetching and proxy request turned on.
I am trying to get a user based on the id that is stored inside the httpOnly Cookie. But the reponse always gives me this error:
"Invalid query. The filter value for "_eq" has to be a string, number, or boolean."
I am on this for hours, trying different stuff the AI suggests but nothing works. Do I have a fundamental mistake on how the httpOnly Cookies work?