-
Notifications
You must be signed in to change notification settings - Fork 60
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
Invalid cors request #69
Comments
works for me.
Response:
FYI: To debug the network communication between yaade and your application, assuming you are using the yaade extension in chrome as proxy: Open chrome devtools (F12) The requests to your server are found in the network tab. -- Ron |
hello, check the request sent by yaade. it sets
this is not the server where yaade is running., but the extension in the browser. so, try whitelisting chrome-extension://mddoackclclnbkmofficmmepfnadolfa in your application. -- Ron |
PS: https://www.innoq.com/en/blog/cors-private-network-access/ |
PS: |
Close due to inactivity. |
I have set up Yaade on my cloud server, and it is currently running via Apache2 using the URL https://example.com. Simultaneously, I am developing an springboot application on my localhost that utilizes CORS. The application will be accessible via https://localhost:8080.
In my application's configuration, I have added the following line: configuration.setAllowedOrigins(Arrays.asList(frontendUrl, "https://example.com"));
However, when I send a POST request from Yaade to https://localhost:8080/register, I receive an invalid CORS request error in the response body.
To address this issue, I attempted to modify the configuration line to configuration.setAllowedOrigins("*');, which resolved the problem. Even though I specified "https://example.com" as the allowed origin, which is where I access Yaade, I'm still encountering this issue.
I would appreciate assistance in understanding why I am facing this problem despite configuring the allowed origins correctly.
The text was updated successfully, but these errors were encountered: