Open dtelaroli opened 8 years ago
There doesn't seem to be a built in option for this, but you can add it manually in persistence.sync.js After the xmlHttp.open on lines 36 and 52 add a like like this
xmlHttp.setRequestHeader("Authorization", YourAuthTokenHere);
You'll have to do something similar in the persistence.jquery.js if you are using it, as it overwrites these functions
How can I set auth headers before send data to server?