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
Sign in does not work on Safari #130
Comments
Hey @domoritz I am not able to reproduce this mine login works fine |
Hmm, let me try again. I was trying something else and it didn’t work for me. |
Ahh, I think the issue is that our cookie is a third party cookie. |
The issue is probably that we need to set cookies to be secure. |
I think we need to set https://github.com/vega/editor-backend/blob/master/src/app.ts#L77 but somehow I cannot log in anymore after I uncomment this line. @algomaster99 Can you help me here? |
@domoritz what error are you getting? |
There seem to be two separate issues.
Any idea what's going wrong? It looks like cors is not working as expected. |
@domoritz Chrome in incognito works fine for me. For Safari, shall I just check it on some iPhone? |
I noticed that I can log in if I disable this setting to prevent cross-site tracking. Maybe let's focus on enabling safe cookies (https://github.com/vega/editor-backend/blob/master/src/app.ts#L77) for now and look at this issue later. Can you look into this? |
@domoritz |
Adding the secure flag is for #130 (comment) |
Somehow, I cannot sign in on safari. After going through the login process on github, I don't get signed in on the editor.
The text was updated successfully, but these errors were encountered: