-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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 should be explicitly set #712
Comments
@vishr thoughts on this one ? |
@tatsuya-ogawa We need more details on this issue. |
@vishr @apaganobeleno This is my commit. This is related stackoverflow issues |
@tatsuya-ogawa @vishr please correct me if i'm wrong but Echo allows to configure the "Access-Control-Allow-Origin" domains when you use By default it sets the CORS with Access-Control-Allow-Origin set to '*' inside |
@apaganobeleno Since other languages, frameworks provides the dynamic Access-Control-Allow-Origin handling, |
@tatsuya-ogawa Please verify if this is fixed with the recent changes to v2 and v3. |
@vishr |
@tatsuya-ogawa How about setting allowedOrigin to origin if it is passed in the request header, otherwise use |
What credentials are you talking about? |
@vishr |
I think so too. |
Signed-off-by: Vishal Rana <[email protected]>
The Access-Control-Allow-Origin value should not be wildcard.
So set the origin explicitly.
Otherwise, the chrome ajax requests not works.
The text was updated successfully, but these errors were encountered: