mikekelly / hal-browser

An API browser for the hal+json media type
MIT License
835 stars 157 forks source link

Allow credentials for CORS requests #58

Closed DracoBlue closed 9 years ago

DracoBlue commented 9 years ago

Currently it's not possible to use HAL-Browser to request "Basic-Auth" protected contents from other domains, since the xhrFields.withCredentials option is missing in the $.ajax request.

This pull request fixes this behaviour.

mikekelly commented 9 years ago

Good work thanks :+1:

DracoBlue commented 9 years ago

You're welcome!

Am Dienstag, 14. April 2015 schrieb Mike Kelly :

Merged #58 https://github.com/mikekelly/hal-browser/pull/58.

— Reply to this email directly or view it on GitHub https://github.com/mikekelly/hal-browser/pull/58#event-281255764.

http://dracoblue.net