Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Login Issues on Safari - Assistance Needed #267

Open
Karakrisz opened this issue Jan 5, 2025 · 5 comments
Open

Login Issues on Safari - Assistance Needed #267

Karakrisz opened this issue Jan 5, 2025 · 5 comments

Comments

@Karakrisz
Copy link

Karakrisz commented Jan 5, 2025

Dear Support Team

We are experiencing an issue where users are unable to log in using the Safari browser. Have you encountered this problem before?

Thank you in advance for your response.

@scottyzen

@alexookah
Copy link
Contributor

alexookah commented Jan 5, 2025

There are already similar issues with the Safari Login.
Here explained:
#212 (comment)
TLDR;
You need https and use same subdomain as the wordpress domain.
*.vercel.app domain wont work for safari

@Karakrisz
Copy link
Author

Karakrisz commented Jan 5, 2025

Here, we are dealing with a live website, and it doesn’t allow login unless I disable tracking in Safari. The mentioned website => https://www.fuggonyoazis.hu/

@alexookah
Copy link
Contributor

what's your cookie setting on WP_GRAPHQL_CORS ? None, Lax or Strict?

@Karakrisz
Copy link
Author

None, but the back end and front end are on separate domains because Vercel cannot handle PHP. Both are HTTPS. Is there any solution for making login work in Safari in this setup? I’d be grateful for the solution.

@alexookah
Copy link
Contributor

@Karakrisz

Due to Safari's security restrictions, the only way to resolve the Safari login issue is by ensuring that your WordPress site and frontend are on the same domain.

Currently, your API endpoint (https://apioazis.hu/restapi/graphql) is on a different domain than your frontend (fuggonyoazis.hu). To fix this, you need to update your DNS records with your domain provider and configure your WordPress site to use a subdomain of your main domain.

For example, you can set your WordPress site to wordpress.fuggonyoazis.hu. This way, both your frontend and WordPress site will share the same domain, which is necessary for proper functioning on Safari.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants