funkhaus / wp-graphql-cors

Makes WP GraphQL's authetication "just work". It does this by customizing the CORS headers.
GNU General Public License v3.0
112 stars 21 forks source link

logIn mutation not working for me #47

Closed sheinid closed 12 months ago

sheinid commented 12 months ago

I use headless wordpress with Next 13 app. And when I send the request, it responses with 'SUCCESS', but nothing happens.

Here is the warning from browser console image

My wp-graphql-cors settings image

sheinid commented 12 months ago

Fyi to solve the issue you can either move your wordpress to https or hardcode the secure variable to true in the source code of the plugin