Description
openedon Dec 21, 2023
Description
Hi,
I have created a simple React App (running on http://localhost:5173) that fetches data through WPGraphql.
I have installed wp-graphql-headless-login in order to get Social login features (Google and Facebook).
I am in the process of configuring the Google auth and i would like the wp-headless-login plugin to set the wp authentication cookie automatically on login success.
I am now able to login and create the logged in user automatically in wordpress.
The problem i am facing is that the wp auth cookie does not get set because it is lacking of the SameSite
attribute.
I can see that the request tries to set the wp auth cookie but it does not get set.
Here is a screenshot:
There is no way for me within the plugin to change the SameSite
attribute to none
?
here is my plugin configuration
Steps to reproduce
- Install the plugin
- add a Google provider along with CLIENT ID and CLIENT SECRET.
- In the plugin Login Settings TURN ON all settings.
- In the plugin Access Control Settings TURN ON Block unauthorized domains and Add ACAC.
- Set the locally running react frontend url in the authorized domains.
Additional context
No response
Plugin Version
0.1.4
WordPress Version
6.4.2
WPGraphQL Version
1.19.0
Additional enviornmental details
No response
Please confirm that you have searched existing issues in the repo.
- Yes
Please confirm that you have disabled ALL plugins except for WPGraphQL and Headless Login for WPGraphQL
- Yes
- My issue is with a specific 3rd-party plugin.