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

set Access-Control-Allow-Origin header to origin to enable withCredentials #630

Merged
merged 3 commits into from
Nov 22, 2011
Merged

set Access-Control-Allow-Origin header to origin to enable withCredentials #630

merged 3 commits into from
Nov 22, 2011

Conversation

gavinuhma
Copy link
Contributor

set Access-Control-Allow-Origin header to origin to enable withCredentials. Bug #625 and client bug socketio/socket.io-client#333

@gavinuhma
Copy link
Contributor Author

see comment in client issue:
socketio/socket.io-client#333 (comment)

@3rd-Eden
Copy link
Contributor

3rd-Eden commented Nov 9, 2011

Have you tested if this fixes #625 because i'm pretty sure it doesn't

@gavinuhma
Copy link
Contributor Author

It should. We don't use express but we use io.set('authorization') and the problem we fixed was failed auth because of undefined req.headers.cookie

@gavinuhma
Copy link
Contributor Author

It needs to be combined with the pull request I submitted to socket.io-client

@gavinuhma
Copy link
Contributor Author

@3rd-Eden I've added your suggested change re our discussion: socketio/socket.io-client#335

Not sure if the merge should be part of this pull request. But check out the diff, it's all good.

rauchg added a commit that referenced this pull request Nov 22, 2011
set Access-Control-Allow-Origin header to origin to enable withCredentials
@rauchg rauchg merged commit 17d0f4d into socketio:master Nov 22, 2011
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

Successfully merging this pull request may close these issues.

3 participants