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

WWW-Authenticate is not returned in the header #17

Open
kaffeskogen opened this issue May 28, 2018 · 0 comments
Open

WWW-Authenticate is not returned in the header #17

kaffeskogen opened this issue May 28, 2018 · 0 comments

Comments

@kaffeskogen
Copy link

Trying to run spsync, correctly configured, I get the following:

'debug-publish' errored after 947 ms
TypeError in plugin 'gulp-spsync'
Message:
    Cannot read property 'indexOf' of undefined

The reason is that when getting the realm from target url, WWW-Authenticate doesn't exist in the response headers.

Resolved it by changing
var clientsvc = "/vti_bin/client.svc"
to
var clientsvc = "/_vti_bin/client.svc"
in index.js (Adding an underscore).

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