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

'access-control-allow-origin' header console error #1381

Closed
vbagirov opened this Issue Nov 15, 2016 · 3 comments

Comments

Projects
None yet
4 participants

@vbagirov vbagirov added the bug label Nov 15, 2016

@vbagirov vbagirov added this to the 6.1 R2 milestone Nov 15, 2016

@adbuker adbuker assigned adbuker and unassigned suhan3z Nov 15, 2016

@adbuker

This comment has been minimized.

Show comment
Hide comment
@adbuker

adbuker commented Nov 15, 2016

@adbuker

This comment has been minimized.

Show comment
Hide comment
@adbuker

adbuker Nov 16, 2016

A wildcard '*' cannot be used in the 'Access-Control-Allow-Origin' header when the credentials flag is true.
https://developer.mozilla.org/en-US/docs/Web/HTTP/Access_control_CORS

adbuker commented Nov 16, 2016

A wildcard '*' cannot be used in the 'Access-Control-Allow-Origin' header when the credentials flag is true.
https://developer.mozilla.org/en-US/docs/Web/HTTP/Access_control_CORS

@ameshkov

This comment has been minimized.

Show comment
Hide comment
@ameshkov

ameshkov Nov 16, 2016

Member

So, for requests with Origin header we should copy it's value to Access-Control-Allow-Origin and set Access-Control-Allow-Credentials to true

Member

ameshkov commented Nov 16, 2016

So, for requests with Origin header we should copy it's value to Access-Control-Allow-Origin and set Access-Control-Allow-Credentials to true

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment