Need help! I use Apollo Client Link Rest. I tested some other sites that don't require authentications and my script works fine, but here is more of Auth issue but now sure how to solve the problem. I tried to login to Dashboard it didn't help either.
Here is my Apollo Client query and the error.
Is Apollo passing the credentials correctly along with the requests?
https://www.apollographql.com/docs/react/networking/authentication/Also - have you set up csfr and cors in payload?
Thank you very much for the reply. I have configured CORS and CSRF correctly, the issue was the authentication. I got it solved, my script was missing validating the token. These changes made the script work:
Star
Discord
online
Get dedicated engineering support directly from the Payload team.