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

CORS and authentication does not work properly #104

Closed
rhuss opened this issue May 3, 2013 · 2 comments
Closed

CORS and authentication does not work properly #104

rhuss opened this issue May 3, 2013 · 2 comments
Milestone

Comments

@rhuss
Copy link
Owner

rhuss commented May 3, 2013

When using CORS and authentication there are two issues:

  • The client library doesn't set the withCredentials XHR Field to true
  • The agent doesn't respond with a Access-Control-Allow-Credentials header.

See this article for details.

@rhuss
Copy link
Owner Author

rhuss commented May 3, 2013

I pushed some changes, unfortunately I cannot test it with the provided fabric instatallation in #101 because I don't know to repackage (tried it naiively , but didn't work).

You need to update the agent (in fabric) and the javascript lib in hawtio.

I pushed a snapshot to our repository (should be there shortly). The JavaScript agent can be found here.

Could please someone give it a try ?

@rhuss
Copy link
Owner Author

rhuss commented May 28, 2013

Tested it, looks good.

@rhuss rhuss closed this as completed May 28, 2013
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

No branches or pull requests

1 participant