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

Ruuter withCredentials error #204

Open
varmoh opened this issue Aug 18, 2023 · 0 comments
Open

Ruuter withCredentials error #204

varmoh opened this issue Aug 18, 2023 · 0 comments
Assignees

Comments

@varmoh
Copy link
Collaborator

varmoh commented Aug 18, 2023

Currently, when using the Ruuter in modules, I get the following CORS
CORS policy: The value of the 'Access-Control-Allow-Credentials' header in the response is '' which must be 'true' when the request's credentials mode is 'include'. The credentials mode of requests initiated by the XMLHttpRequest is controlled by the withCredentials attribute.

To bypass it, I have to change /src/main/java/ee/buerokratt/ruuter/configuration/CORSConfiguration.java
and add the line .allowCredentials(true)

Is there another way to configure it outside java ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

2 participants